projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f661cb6
)
* image.c (xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:38:27 +0000
(19:38 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:38:27 +0000
(19:38 -0700)
src/ChangeLog
patch
|
blob
|
history
src/image.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 2d26daf4fad1b57aeaddfa8e9c3b9c2925a7687a..b629c5ca10d8386146606615fd4fa95ae09aa371 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-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.
diff --git
a/src/image.c
b/src/image.c
index 0a893c116b8cfce9eebbee275192ccbfd95f53af..45bd590e415a8b7f907b5dbfe227447a0f085a99 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-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. */