From 766d5e4ec0182ecbeaac9475dedad9a631f9cf47 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 27 Apr 2014 15:22:57 +0100 Subject: coverity#738573 Uninitialized scalar field Change-Id: I8b112fa0095cc6ed15c9198a312a0b6fce3a8d28 --- cppcanvas/source/mtfrenderer/emfplus.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'cppcanvas') 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 () -- cgit