Silence new gcc warnings

gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
This commit is contained in:
Matthias Clasen
2011-01-23 18:50:09 -05:00
parent a12dad75a2
commit 454c36523a
8 changed files with 47 additions and 96 deletions

View File

@ -1459,12 +1459,11 @@ gdk_synthesize_click (GdkDisplay *display,
gint nclicks)
{
GdkEvent *event_copy;
GList *link;
event_copy = gdk_event_copy (event);
event_copy->type = (nclicks == 2) ? GDK_2BUTTON_PRESS : GDK_3BUTTON_PRESS;
link = _gdk_event_queue_append (display, event_copy);
_gdk_event_queue_append (display, event_copy);
}
void