From 82be2325d9a49e2eb7fedcbffd655ed9e95ed2d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Dec 2014 12:06:48 -0500 Subject: [PATCH] Fix uninitialized members. --- libs/ardour/file_source.cc | 2 ++ 1 file changed, 2 insertions(+) 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