Commit 35fa624f authored by Paul Eggert's avatar Paul Eggert
Browse files

* image.c (xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.

parent f661cb61
2011-04-02 Paul Eggert <>
* 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. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment