aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-01 19:36:48 -0700
committerPaul Eggert2011-04-01 19:36:48 -0700
commitf661cb610a93994c5590d97e8413a664aec5eb7c (patch)
treec035520ba1e7d74f6e235498aab9b448f16d3dd0 /src
parentf0397f5aa35d39a4b95f73653e587f69bfa3ff11 (diff)
downloademacs-f661cb610a93994c5590d97e8413a664aec5eb7c.tar.gz
emacs-f661cb610a93994c5590d97e8413a664aec5eb7c.zip
* image.c (lookup_image): Remove var that is set but not used.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/image.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5634231fccc..2d26daf4fad 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-04-02 Paul Eggert <eggert@cs.ucla.edu> 12011-04-02 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * image.c (lookup_image): Remove var that is set but not used.
4
3 * fontset.c (Finternal_char_font, Ffontset_info): Remove vars 5 * fontset.c (Finternal_char_font, Ffontset_info): Remove vars
4 that are set but not used. 6 that are set but not used.
5 7
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)
1708int 1708int
1709lookup_image (struct frame *f, Lisp_Object spec) 1709lookup_image (struct frame *f, Lisp_Object spec)
1710{ 1710{
1711 struct image_cache *c;
1712 struct image *img; 1711 struct image *img;
1713 unsigned hash; 1712 unsigned hash;
1714 EMACS_TIME now; 1713 EMACS_TIME now;
@@ -1718,8 +1717,6 @@ lookup_image (struct frame *f, Lisp_Object spec)
1718 xassert (FRAME_WINDOW_P (f)); 1717 xassert (FRAME_WINDOW_P (f));
1719 xassert (valid_image_p (spec)); 1718 xassert (valid_image_p (spec));
1720 1719
1721 c = FRAME_IMAGE_CACHE (f);
1722
1723 /* Look up SPEC in the hash table of the image cache. */ 1720 /* Look up SPEC in the hash table of the image cache. */
1724 hash = sxhash (spec, 0); 1721 hash = sxhash (spec, 0);
1725 img = search_image_cache (f, spec, hash); 1722 img = search_image_cache (f, spec, hash);