projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0274c93
)
Fix alleged use of uninitialized variable.
author
David Robillard
<d@drobilla.net>
Wed, 31 Dec 2014 22:32:21 +0000
(17:32 -0500)
committer
David Robillard
<d@drobilla.net>
Wed, 31 Dec 2014 22:32:21 +0000
(17:32 -0500)
Looks like a guaranteed else branch to me, but who am I to argue with gcc?
libs/canvas/canvas.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/canvas.cc
b/libs/canvas/canvas.cc
index be0f25d7a24f1afed057e85dbc10ba947e4a35fd..eb18899ab3b446bc44f8df51ae680dcec3873e0f 100644
(file)
--- a/
libs/canvas/canvas.cc
+++ b/
libs/canvas/canvas.cc
@@
-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;