changeset 408:edfdb1d5db3c

Fix uninitialised values
author Chris Cannam
date Wed, 03 Sep 2014 09:27:04 +0100
parents b0b49da13975
children 41242512d544
files framework/Document.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/framework/Document.cpp	Wed Sep 03 09:25:41 2014 +0100
+++ b/framework/Document.cpp	Wed Sep 03 09:27:04 2014 +0100
@@ -628,6 +628,7 @@
 
     ModelRecord rec;
     rec.source = 0;
+    rec.channel = 0;
     rec.refcount = 0;
     rec.additional = false;
 
@@ -663,6 +664,7 @@
 
     ModelRecord rec;
     rec.source = 0;
+    rec.channel = 0;
     rec.refcount = 0;
     rec.additional = true;