summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-27 15:22:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 10:31:02 +0100
commit766d5e4ec0182ecbeaac9475dedad9a631f9cf47 (patch)
treec8feb56a7231b0b6a99038c8e743b035dac30926 /cppcanvas
parent8eb41a5c0d7a076ab07bdfea56715b46b423713e (diff)
coverity#738573 Uninitialized scalar field
Change-Id: I8b112fa0095cc6ed15c9198a312a0b6fce3a8d28
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 8310f4094d38..a34b4d31cf0b 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -287,9 +287,15 @@ namespace cppcanvas
float ix, iy, iw, ih;
EMFPRegion ()
+ : parts(0)
+ , combineMode(NULL)
+ , initialState(0)
+ , initialPath(NULL)
+ , ix(0.0)
+ , iy(0.0)
+ , iw(0.0)
+ , ih(0.0)
{
- combineMode = NULL;
- initialPath = NULL;
}
virtual ~EMFPRegion ()