changeset 971:9869ea3a93b7

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:09:26 +0100
parents bfe724787abf
children a0573186435e
files data/model/WaveFileModel.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp	Wed Sep 03 11:07:12 2014 +0100
+++ b/data/model/WaveFileModel.cpp	Wed Sep 03 11:09:26 2014 +0100
@@ -40,6 +40,7 @@
 WaveFileModel::WaveFileModel(FileSource source, int targetRate) :
     m_source(source),
     m_path(source.getLocation()),
+    m_reader(0),
     m_myReader(true),
     m_startFrame(0),
     m_fillThread(0),
@@ -67,6 +68,7 @@
 WaveFileModel::WaveFileModel(FileSource source, AudioFileReader *reader) :
     m_source(source),
     m_path(source.getLocation()),
+    m_reader(0),
     m_myReader(false),
     m_startFrame(0),
     m_fillThread(0),