Fix alleged use of uninitialized variable.

Looks like a guaranteed else branch to me, but who am I to argue with gcc?
This commit is contained in:
David Robillard 2014-12-31 17:32:21 -05:00
parent 0274c93eac
commit 2558e52e22

View File

@ -516,8 +516,8 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state)
leave_event.type = GDK_LEAVE_NOTIFY;
Item* i;
GdkNotifyType enter_detail;
GdkNotifyType leave_detail;
GdkNotifyType enter_detail = GDK_NOTIFY_UNKNOWN;
GdkNotifyType leave_detail = GDK_NOTIFY_UNKNOWN;
vector<Item*> items_to_leave_virtual;
vector<Item*> items_to_enter_virtual;