diff options
| author | Paul Eggert | 2011-04-01 19:36:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-01 19:36:48 -0700 |
| commit | f661cb610a93994c5590d97e8413a664aec5eb7c (patch) | |
| tree | c035520ba1e7d74f6e235498aab9b448f16d3dd0 /src | |
| parent | f0397f5aa35d39a4b95f73653e587f69bfa3ff11 (diff) | |
| download | emacs-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/ChangeLog | 2 | ||||
| -rw-r--r-- | src/image.c | 3 |
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 @@ | |||
| 1 | 2011-04-02 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-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) | |||
| 1708 | int | 1708 | int |
| 1709 | lookup_image (struct frame *f, Lisp_Object spec) | 1709 | lookup_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); |