]> git.eshelyaron.com Git - emacs.git/commitdiff
* image.c (lookup_image): Remove var that is set but not used.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:36:48 +0000 (19:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:36:48 +0000 (19:36 -0700)
src/ChangeLog
src/image.c

index 5634231fccc54863a2be8307d7915061ba5b013a..2d26daf4fad1b57aeaddfa8e9c3b9c2925a7687a 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-02  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * image.c (lookup_image): Remove var that is set but not used.
+
        * fontset.c (Finternal_char_font, Ffontset_info): Remove vars
        that are set but not used.
 
index b37ba398d83c6b9f890ecab1c77e738f51bf723e..0a893c116b8cfce9eebbee275192ccbfd95f53af 100644 (file)
@@ -1708,7 +1708,6 @@ postprocess_image (struct frame *f, struct image *img)
 int
 lookup_image (struct frame *f, Lisp_Object spec)
 {
-  struct image_cache *c;
   struct image *img;
   unsigned hash;
   EMACS_TIME now;
@@ -1718,8 +1717,6 @@ lookup_image (struct frame *f, Lisp_Object spec)
   xassert (FRAME_WINDOW_P (f));
   xassert (valid_image_p (spec));
 
-  c = FRAME_IMAGE_CACHE (f);
-
   /* Look up SPEC in the hash table of the image cache.  */
   hash = sxhash (spec, 0);
   img = search_image_cache (f, spec, hash);