diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-17 04:11:19 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-17 04:11:19 +0100 |
commit | 99f28d196660817e63c4fd692ed4d94655ff9c0a (patch) | |
tree | d6655bb060b5d5e93d7adefb3f6bf0960531a540 /gtk2_ardour/selection.cc | |
parent | edb86929f5faa04fae240b82feae9cfefe42f0c0 (diff) |
initialize uninitialized variable
just another hint for clang/static analysis.
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index 309e4239fb..0118c1c679 100644 --- 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()) { |