diff data/fileio/MIDIFileWriter.cpp @ 966:dad0fc8ff405

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:00:19 +0100
parents 59e7fe1b1003
children 0d3d1ec7dfde
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";