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:
edb8692
)
initialize uninitialized variable
author
Robin Gareus
<robin@gareus.org>
Tue, 17 Mar 2015 03:11:19 +0000
(
04:11
+0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 17 Mar 2015 03:11:19 +0000
(
04:11
+0100)
just another hint for clang/static analysis.
gtk2_ardour/selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/selection.cc
b/gtk2_ardour/selection.cc
index 309e4239fb09bd7dded471af69ba2f655b32b832..0118c1c679b4f74d64fa2a572c33712ae60cad6b 100644
(file)
--- a/
gtk2_ardour/selection.cc
+++ b/
gtk2_ardour/selection.cc
@@
-1233,7
+1233,7
@@
Selection::get_state () const
}
/* midi region views have thir own internal selection. */
- XMLNode* n;
+ XMLNode* n
= NULL
;
list<pair<PBD::ID, std::set<boost::shared_ptr<Evoral::Note<Evoral::Beats> > > > > rid_notes;
editor->get_per_region_note_selection (rid_notes);
if (!rid_notes.empty()) {