# HG changeset patch # User Chris Cannam # Date 1353086027 0 # Node ID c9fc7728ab0d19a5496ce01a69c0eb99950df71e # Parent 8b79ad680ee720488700402482fd17b63e4bc090 Avoid uninitialised values diff -r 8b79ad680ee7 -r c9fc7728ab0d data/model/WaveFileModel.cpp --- a/data/model/WaveFileModel.cpp Wed Sep 26 21:28:14 2012 +0100 +++ b/data/model/WaveFileModel.cpp Fri Nov 16 17:13:47 2012 +0000 @@ -46,7 +46,9 @@ m_fillThread(0), m_updateTimer(0), m_lastFillExtent(0), - m_exiting(false) + m_exiting(false), + m_lastDirectReadStart(0), + m_lastDirectReadCount(0) { m_source.waitForData(); if (m_source.isOK()) {