diff options
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index dbe200195d0..fbd2f4e6a51 100644 --- a/src/image.c +++ b/src/image.c @@ -1639,7 +1639,7 @@ uncache_image (f, spec) Lisp_Object spec; { struct image_cache *c = FRAME_X_IMAGE_CACHE (f); - struct image *img = IMAGE_FROM_ID (f, lookup_image (f, spec)); + struct image *img; unsigned hash = sxhash (spec, 0); int i = hash % IMAGE_CACHE_BUCKETS_SIZE; |