Commit 9bcb5ff5 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

COMP: Fixed warnings about unitialized memory.

Change-Id: If79e9b98cfaf965ed4c27c1f189c501be1fbafcb
parent 8bd0d55d
......@@ -28,7 +28,7 @@
class vtkChartMatrix::PIMPL
{
public:
PIMPL() {}
PIMPL() : Geometry(0, 0) {}
~PIMPL() {}
// Container for the vtkChart objects that make up the matrix.
......@@ -40,7 +40,7 @@ public:
vtkStandardNewMacro(vtkChartMatrix)
vtkChartMatrix::vtkChartMatrix() : Gutter(15.0, 15.0)
vtkChartMatrix::vtkChartMatrix() : Size(0, 0), Gutter(15.0, 15.0)
{
this->Private = new PIMPL;
this->Borders[vtkAxis::LEFT] = 50;
......
......@@ -32,7 +32,7 @@
vtkStandardNewMacro(vtkTooltipItem);
//-----------------------------------------------------------------------------
vtkTooltipItem::vtkTooltipItem()
vtkTooltipItem::vtkTooltipItem() : PositionVector(0, 0)
{
this->Position = this->PositionVector.GetData();
this->TextProperties = vtkTextProperty::New();
......
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