From 58589a922e65bf0ceab2eaa27025f9dc222e0329 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 2 Dec 2016 11:26:39 +0100 Subject: [PATCH] Initialize a variable Valgrind wasn't happy without the initialization --- vv/vvSlicerManagerCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.1