summaryrefslogtreecommitdiff
path: root/libs/ardour/file_source.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-06 12:06:48 -0500
committerDavid Robillard <d@drobilla.net>2014-12-06 12:06:48 -0500
commit82be2325d9a49e2eb7fedcbffd655ed9e95ed2d6 (patch)
treecb162b5a313090a050457f90bb669060a7264001 /libs/ardour/file_source.cc
parentddb7cc6d66c7850131e9d35ab6ace58df538fcec (diff)
Fix uninitialized members.
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r--libs/ardour/file_source.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc
index a4d317af71..06867e688e 100644
--- a/libs/ardour/file_source.cc
+++ b/libs/ardour/file_source.cc
@@ -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