From: tbaudier Date: Fri, 2 Dec 2016 10:26:39 +0000 (+0100) Subject: Initialize a variable X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=58589a922e65bf0ceab2eaa27025f9dc222e0329;p=clitk.git Initialize a variable Valgrind wasn't happy without the initialization --- diff --git a/vv/vvSlicerManagerCommand.cxx b/vv/vvSlicerManagerCommand.cxx index c645a27..9e97832 100644 --- a/vv/vvSlicerManagerCommand.cxx +++ b/vv/vvSlicerManagerCommand.cxx @@ -73,7 +73,7 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller, if (isi) { double x = isi->GetInteractor()->GetEventPosition()[0]; double y = isi->GetInteractor()->GetEventPosition()[1]; - double z; + double z(4000); int VisibleInWindow = this->FindSlicerNumber(isi->GetInteractor()->GetRenderWindow()); vtkRenderer* renderer=NULL;