Fix uninitialized members.

This commit is contained in:
David Robillard 2014-12-06 12:06:48 -05:00
parent ddb7cc6d66
commit 82be2325d9

View file

@ -67,6 +67,8 @@ FileSource::FileSource (Session& session, DataType type, const string& path, con
FileSource::FileSource (Session& session, const XMLNode& node, bool /*must_exist*/)
: Source (session, node)
, _file_is_new (false)
, _channel (0)
, _open (false)
{
/* this setting of _path is temporary - we expect derived classes
to call ::init() which will actually locate the file