From 766a512a88e1f20a8d64337e4ecf15cb64e765fb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Jan 2014 15:39:24 +0000 Subject: coverity#1158489 Uninitialized scalar field Change-Id: Ibe8600f8ad38859cd79d52528f970d99f0b8f536 --- cppcanvas/source/mtfrenderer/emfplus.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cppcanvas/source') diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 899e8c84b185..82a91b46edd6 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -645,7 +645,14 @@ namespace cppcanvas bool mbIsFilled; public: - EMFPCustomLineCap() : EMFPObject() + EMFPCustomLineCap() + : EMFPObject() + , type(0) + , strokeStartCap(0) + , strokeEndCap(0) + , strokeJoin(0) + , miterLimit(0.0) + , mbIsFilled(false) { } -- cgit