* image.c (xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
2011-04-02 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* image.c (lookup_image): Remove var that is set but not used.
|
||||
(xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.
|
||||
|
||||
* fontset.c (Finternal_char_font, Ffontset_info): Remove vars
|
||||
that are set but not used.
|
||||
|
||||
@@ -2875,6 +2875,7 @@ xbm_load (struct frame *f, struct image *img)
|
||||
/* Parse the image specification. */
|
||||
memcpy (fmt, xbm_format, sizeof fmt);
|
||||
parsed_p = parse_image_spec (img->spec, fmt, XBM_LAST, Qxbm);
|
||||
(void) parsed_p;
|
||||
xassert (parsed_p);
|
||||
|
||||
/* Get specified width, and height. */
|
||||
|
||||
Reference in New Issue
Block a user