diff options
author | Stéphane Aulery <lkppo@free.fr> | 2012-01-28 21:54:56 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 14:12:43 +0100 |
commit | de0ca7f4571aba58753d160acd4efe6388651986 (patch) | |
tree | 6be3af809c17abf73bf5a4b1a0b072a9f498b580 | |
parent | dbb013b2e014eded2cf2c6398c675f2cb52eaf53 (diff) | |
download | fbida-de0ca7f4571aba58753d160acd4efe6388651986.tar.gz |
Remove unused variable in color.c: y
-rw-r--r-- | color.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |