changeset 976:45e95de8b11d

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:27:23 +0100
parents d5404b8421b4
children 048173126e71
files transform/TransformDescription.h transform/TransformFactory.cpp
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/transform/TransformDescription.h	Wed Sep 03 11:26:21 2014 +0100
+++ b/transform/TransformDescription.h	Wed Sep 03 11:27:23 2014 +0100
@@ -53,7 +53,8 @@
         UnknownType
     };
 
-    TransformDescription() { }
+    TransformDescription() : 
+        type(UnknownType), configurable(false) { }
     TransformDescription(Type _type, QString _category,
                          TransformId _identifier, QString _name,
                          QString _friendlyName, QString _description,
--- a/transform/TransformFactory.cpp	Wed Sep 03 11:26:21 2014 +0100
+++ b/transform/TransformFactory.cpp	Wed Sep 03 11:27:23 2014 +0100
@@ -60,7 +60,8 @@
     m_transformsPopulated(false),
     m_uninstalledTransformsPopulated(false),
     m_thread(0),
-    m_exiting(false)
+    m_exiting(false),
+    m_populatingSlowly(false)
 {
 }