Commit 9f5eb493 authored by Zack Galbreath's avatar Zack Galbreath
Browse files

Resolve valgrind defects

Initialize Position in the constructor of vtkColorLegend
to avoid uninitialized memory reads.

Change-Id: Ide2da0c7dac74d10aa17a1c525f61a6c13887208
parent 9bb44b30
......@@ -49,6 +49,7 @@ vtkColorLegend::vtkColorLegend()
this->Orientation = vtkColorLegend::VERTICAL;
this->Position.Set(0.0, 0.0, 0.0, 0.0);
this->CustomPositionSet = false;
this->DrawBorder = false;
}
......
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