aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.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/image.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/image.c')
-rw-r--r--src/image.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 401689e940a..617cf70eb17 100644
--- a/src/image.c
+++ b/src/image.c
@@ -4431,8 +4431,6 @@ lookup_rgb_color (struct frame *f, int r, int g, int b)
4431 dpyinfo = FRAME_DISPLAY_INFO (f); 4431 dpyinfo = FRAME_DISPLAY_INFO (f);
4432 if (dpyinfo->red_bits > 0) 4432 if (dpyinfo->red_bits > 0)
4433 { 4433 {
4434 unsigned long pr, pg, pb;
4435
4436 /* Apply gamma-correction like normal color allocation does. */ 4434 /* Apply gamma-correction like normal color allocation does. */
4437 if (f->gamma) 4435 if (f->gamma)
4438 { 4436 {