diff framework/Document.cpp @ 408:edfdb1d5db3c

Fix uninitialised values
author Chris Cannam
date Wed, 03 Sep 2014 09:27:04 +0100
parents a4c2a4685cf1
children 8039c7352ae2 72c662fe7ea3
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;