aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Aulery <lkppo@free.fr>2012-01-28 21:54:56 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-02-10 14:12:43 +0100
commitde0ca7f4571aba58753d160acd4efe6388651986 (patch)
tree6be3af809c17abf73bf5a4b1a0b072a9f498b580
parentdbb013b2e014eded2cf2c6398c675f2cb52eaf53 (diff)
downloadfbida-de0ca7f4571aba58753d160acd4efe6388651986.tar.gz
Remove unused variable in color.c: y
-rw-r--r--color.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/color.c b/color.c
index 51d32ea..70b7fcd 100644
--- a/color.c
+++ b/color.c
@@ -234,7 +234,7 @@ color_mouse(Widget widget, XtPointer client_data,
XEvent *ev, Boolean *cont)
{
struct ida_hist *me = client_data;
- int x,y;
+ int x;
switch (ev->type) {
case ButtonPress:
@@ -243,7 +243,6 @@ color_mouse(Widget widget, XtPointer client_data,
XButtonEvent *e = (XButtonEvent*)ev;
x = e->x;
- y = e->y;
break;
}
case MotionNotify:
@@ -251,7 +250,6 @@ color_mouse(Widget widget, XtPointer client_data,
XMotionEvent *e = (XMotionEvent*)ev;
x = e->x;
- y = e->y;
break;
default:
return;