aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2015-10-08 13:42:38 -0700
committerPaul Eggert2015-10-08 13:43:02 -0700
commit5a3a6aa71f8c875b2d045d02628a0fc54d422295 (patch)
tree36f83a288b0f983238270666602efb688aa1480e /src/xterm.c
parent52fecf53e2756ddb765c5bea49edaae507671a1b (diff)
downloademacs-5a3a6aa71f8c875b2d045d02628a0fc54d422295.tar.gz
emacs-5a3a6aa71f8c875b2d045d02628a0fc54d422295.zip
Fix problems caught with --enable-gcc-warnings
* src/image.c (lookup_rgb_color): * src/xfns.c (x_defined_color): * src/xterm.c (x_parse_color): Remove unused locals.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 83ef89c5d99..cd6cdb044c9 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2281,7 +2281,6 @@ Status x_parse_color (struct frame *f, const char *color_name,
2281{ 2281{
2282 Display *dpy = FRAME_X_DISPLAY (f); 2282 Display *dpy = FRAME_X_DISPLAY (f);
2283 Colormap cmap = FRAME_X_COLORMAP (f); 2283 Colormap cmap = FRAME_X_COLORMAP (f);
2284 Status status;
2285 struct color_name_cache_entry *cache_entry; 2284 struct color_name_cache_entry *cache_entry;
2286 2285
2287 if (color_name[0] == '#') 2286 if (color_name[0] == '#')