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.
int
lookup_image (struct frame *f, Lisp_Object spec)
{
- struct image_cache *c;
struct image *img;
unsigned hash;
EMACS_TIME now;
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);