summaryrefslogtreecommitdiffstats
path: root/src/trace/siox.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-11-18 15:13:41 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-11-18 15:13:41 +0000
commit2c2601527cd6082e53cee79c0feb99e703c0b220 (patch)
treed52dd0ec1be2553502ad9c038320f8bad4031407 /src/trace/siox.cpp
parentdropped unused variables (diff)
downloadinkscape-2c2601527cd6082e53cee79c0feb99e703c0b220.tar.gz
inkscape-2c2601527cd6082e53cee79c0feb99e703c0b220.zip
cppcheck: initialisation and warning cleanup
(bzr r10744)
Diffstat (limited to 'src/trace/siox.cpp')
-rw-r--r--src/trace/siox.cpp22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp
index e7ef5b0c0..4c6cf1eac 100644
--- a/src/trace/siox.cpp
+++ b/src/trace/siox.cpp
@@ -736,19 +736,33 @@ const float Siox::CERTAIN_BACKGROUND_CONFIDENCE=0.0f;
/**
* Construct a Siox engine
*/
-Siox::Siox()
+Siox::Siox() :
+ sioxObserver(0),
+ keepGoing(true),
+ width(0),
+ height(0),
+ pixelCount(0),
+ image(0),
+ cm(0),
+ labelField(0)
{
- sioxObserver = NULL;
init();
}
/**
* Construct a Siox engine
*/
-Siox::Siox(SioxObserver *observer)
+Siox::Siox(SioxObserver *observer) :
+ sioxObserver(observer),
+ keepGoing(true),
+ width(0),
+ height(0),
+ pixelCount(0),
+ image(0),
+ cm(0),
+ labelField(0)
{
init();
- sioxObserver = observer;
}