aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 6858675d9e4..11f4425136c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1639,7 +1639,7 @@ uncache_image (f, spec)
1639 Lisp_Object spec; 1639 Lisp_Object spec;
1640{ 1640{
1641 struct image_cache *c = FRAME_X_IMAGE_CACHE (f); 1641 struct image_cache *c = FRAME_X_IMAGE_CACHE (f);
1642 struct image *img = IMAGE_FROM_ID (f, lookup_image (f, spec)); 1642 struct image *img;
1643 unsigned hash = sxhash (spec, 0); 1643 unsigned hash = sxhash (spec, 0);
1644 int i = hash % IMAGE_CACHE_BUCKETS_SIZE; 1644 int i = hash % IMAGE_CACHE_BUCKETS_SIZE;
1645 1645