]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_from_xcolors): Don't initialize pixmap (silence compiler).
authorChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 17:11:42 +0000 (17:11 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 17:11:42 +0000 (17:11 +0000)
src/ChangeLog
src/image.c

index 2d7ef660253b866cd92c522d715c2098c5b0b03f..d310b71cd725bd8d6a265c6530f4d3ecdf99179f 100644 (file)
@@ -4,6 +4,7 @@
        (svg_load_image): Use rsvg_handle_get_dimensions to check that
        image size is valid.  Use g_object_unref instead of deprecated
        rsvg_handle_free to free rsvg handle.
+       (x_from_xcolors): Don't initialize pixmap (silence compiler).
 
 2008-07-25  Jason Rumney  <jasonr@gnu.org>
 
index 5c9f5d5bdd19b6dbec23a21a17648230d6cbd321..65208c4783d853f78177e1102a1f5c24f036e5e8 100644 (file)
@@ -5597,7 +5597,7 @@ x_from_xcolors (f, img, colors)
 {
   int x, y;
   XImagePtr oimg = NULL;
-  Pixmap pixmap = NULL;
+  Pixmap pixmap;
   XColor *p;
 
   init_color_table ();