projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Silence Clang warnings
[xboard.git]
/
gtk
/
xoptions.c
diff --git
a/gtk/xoptions.c
b/gtk/xoptions.c
index
d9e528a
..
6e029aa
100644
(file)
--- a/
gtk/xoptions.c
+++ b/
gtk/xoptions.c
@@
-1025,6
+1025,7
@@
GraphEventProc(GtkWidget *widget, GdkEvent *event, gpointer gdata)
case GDK_SCROLL:
if(sevent->direction == GDK_SCROLL_UP) button = 4;
if(sevent->direction == GDK_SCROLL_DOWN) button = 5;
+ w = h = 0; // to keep Clang happy
break;
case GDK_MOTION_NOTIFY:
f = 0;