diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-27 15:22:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-28 10:31:02 +0100 |
commit | 766d5e4ec0182ecbeaac9475dedad9a631f9cf47 (patch) | |
tree | c8feb56a7231b0b6a99038c8e743b035dac30926 /cppcanvas/source | |
parent | 8eb41a5c0d7a076ab07bdfea56715b46b423713e (diff) |
coverity#738573 Uninitialized scalar field
Change-Id: I8b112fa0095cc6ed15c9198a312a0b6fce3a8d28
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 10 |
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 () |