diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-20 23:34:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-20 23:34:15 +0000 |
commit | 9befa88debe08349deb01ebc00b605721865eda4 (patch) | |
tree | 2cb5dce021afb91b92b1cc32fce7c079822990a8 /gtk2_ardour/midi_list_editor.cc | |
parent | 9cc110f111cacb28ca4cea5a239ac9c0271da4a9 (diff) |
Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@12048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_list_editor.cc')
-rw-r--r-- | gtk2_ardour/midi_list_editor.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index 53af17488c..66a8e8b6df 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -180,8 +180,8 @@ MidiListEditor::scroll_event (GdkEventScroll* ev) TreeViewColumn* col; int cellx; int celly; - int idelta; - double fdelta; + int idelta = 0; + double fdelta = 0; MidiModel::NoteDiffCommand::Property prop (MidiModel::NoteDiffCommand::NoteNumber); bool apply = false; bool was_selected = false; @@ -586,8 +586,8 @@ MidiListEditor::edited (const std::string& path, const std::string& text) double fval; int ival; bool apply = false; - int idelta; - double fdelta; + int idelta = 0; + double fdelta = 0; char* opname; switch (edit_column) { case 0: // start |