--- rxvt-unicode/src/init.C 2010/10/13 23:04:57 1.283 +++ rxvt-unicode/src/init.C 2010/12/18 14:00:43 1.287 @@ -145,7 +145,7 @@ } #endif -const char *const def_colorName[] = +static const char *const def_colorName[] = { COLOR_FOREGROUND, COLOR_BACKGROUND, @@ -636,7 +636,6 @@ #ifdef HAVE_PIXBUF g_type_init (); - gdk_pixbuf_xlib_init (dpy, display->screen); #endif #if ENABLE_PERL @@ -893,7 +892,6 @@ void rxvt_term::init_env () { - int i; char *val; #ifdef DISPLAY_IS_IP @@ -917,8 +915,7 @@ if (rs[Rs_display_name] == NULL) rs[Rs_display_name] = val; /* use broken `:0' value */ - i = strlen (val); - env_display = (char *)rxvt_malloc (i + 9); + env_display = (char *)rxvt_malloc (strlen (val) + 9); sprintf (env_display, "DISPLAY=%s", val);