Kaydet (Commit) 76f74ef9 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738575 Uninitialized pointer field

Change-Id: Ib65f0e95ef2a837b6c5791d9e2dce5fe8025da33
üst b3e332b4
......@@ -360,13 +360,24 @@ namespace cppcanvas
public:
EMFPBrush ()
: type(0)
, additionalFlags(0)
, wrapMode(0)
, areaX(0.0)
, areaY(0.0)
, areaWidth(0.0)
, areaHeight(0.0)
, hasTransformation(false)
, blendPoints(0)
, blendPositions(NULL)
, blendFactors(NULL)
, colorblendPoints(0)
, colorblendPositions(NULL)
, colorblendColors(NULL)
, surroundColorsNumber(0)
, surroundColors(NULL)
, path(NULL)
{
blendPositions = NULL;
colorblendPositions = NULL;
colorblendColors = NULL;
surroundColors = NULL;
path = NULL;
hasTransformation = false;
}
virtual ~EMFPBrush ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment