changeset 966:dad0fc8ff405

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:00:19 +0100
parents 2d5a8219b4b0
children 0a35adfb7b16
files data/fileio/MIDIFileWriter.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/MIDIFileWriter.cpp	Wed Sep 03 10:56:59 2014 +0100
+++ b/data/fileio/MIDIFileWriter.cpp	Wed Sep 03 11:00:19 2014 +0100
@@ -41,7 +41,8 @@
     m_path(path),
     m_exportable(exportable),
     m_sampleRate(sampleRate),
-    m_tempo(tempo)
+    m_tempo(tempo),
+    m_midiFile(0)
 {
     if (!convert()) {
         m_error = "Conversion from model to internal MIDI format failed";