diff options
| author | Paul Eggert | 2011-04-01 19:38:27 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-01 19:38:27 -0700 |
| commit | 35fa624fb2b9b7d9230a94aefcd1699ab6c53c00 (patch) | |
| tree | 4ec32134d8946bbbe0587e9dd1cff96bc64c281b /src/image.c | |
| parent | f661cb610a93994c5590d97e8413a664aec5eb7c (diff) | |
| download | emacs-35fa624fb2b9b7d9230a94aefcd1699ab6c53c00.tar.gz emacs-35fa624fb2b9b7d9230a94aefcd1699ab6c53c00.zip | |
* image.c (xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c index 0a893c116b8..45bd590e415 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -2875,6 +2875,7 @@ xbm_load (struct frame *f, struct image *img) | |||
| 2875 | /* Parse the image specification. */ | 2875 | /* Parse the image specification. */ |
| 2876 | memcpy (fmt, xbm_format, sizeof fmt); | 2876 | memcpy (fmt, xbm_format, sizeof fmt); |
| 2877 | parsed_p = parse_image_spec (img->spec, fmt, XBM_LAST, Qxbm); | 2877 | parsed_p = parse_image_spec (img->spec, fmt, XBM_LAST, Qxbm); |
| 2878 | (void) parsed_p; | ||
| 2878 | xassert (parsed_p); | 2879 | xassert (parsed_p); |
| 2879 | 2880 | ||
| 2880 | /* Get specified width, and height. */ | 2881 | /* Get specified width, and height. */ |