From: Paul Eggert Date: Sat, 2 Apr 2011 02:36:48 +0000 (-0700) Subject: * image.c (lookup_image): Remove var that is set but not used. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~394^2~61 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f661cb610a93994c5590d97e8413a664aec5eb7c;p=emacs.git * image.c (lookup_image): Remove var that is set but not used. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5634231fccc..2d26daf4fad 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-02 Paul Eggert + * 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. diff --git a/src/image.c b/src/image.c index b37ba398d83..0a893c116b8 100644 --- a/src/image.c +++ b/src/image.c @@ -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);