src/image: Remove unused variables.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 4 Jul 2013 02:08:56 +0000 (04:08 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 4 Jul 2013 02:08:56 +0000 (04:08 +0200)
(x_to_xcolors) [HAVE_NTGUI]: Remove unused var `hdc'.
(x_build_heuristic_mask) [HAVE_NTGUI]: Remove unused var `frame_dc'.

src/ChangeLog
src/image.c

index 5391cef..f8d54c7 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * image.c (x_to_xcolors) [HAVE_NTGUI]: Remove unused var `hdc'.
+       (x_build_heuristic_mask) [HAVE_NTGUI]: Remove unused var `frame_dc'.
+
 2013-07-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        Try to fix FreeBSD bug re multithreaded memory allocation (Bug#14569).
index 2c28834..2f9a844 100644 (file)
@@ -4559,7 +4559,6 @@ x_to_xcolors (struct frame *f, struct image *img, bool rgb_p)
   XColor *colors, *p;
   XImagePtr_or_DC ximg;
 #ifdef HAVE_NTGUI
-  HDC hdc;
   HGDIOBJ prev;
 #endif /* HAVE_NTGUI */
 
@@ -4929,7 +4928,6 @@ x_build_heuristic_mask (struct frame *f, struct image *img, Lisp_Object how)
 #ifndef HAVE_NTGUI
   XImagePtr mask_img;
 #else
-  HDC frame_dc;
   HGDIOBJ prev;
   char *mask_img;
   int row_width;