From: jean-pierre roux Date: Tue, 27 Jan 2009 09:07:40 +0000 (+0000) Subject: * Unused vars suppressed X-Git-Tag: EED.02Oct2009~128 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ca78db7b1c30ba0bbb64db3cf28cc92643d49d8e;p=creaMaracasVisu.git * Unused vars suppressed * Missing header install fixed --- diff --git a/lib/maracasVisuLib/CMakeLists.txt b/lib/maracasVisuLib/CMakeLists.txt index 6e417e3..b3882d4 100644 --- a/lib/maracasVisuLib/CMakeLists.txt +++ b/lib/maracasVisuLib/CMakeLists.txt @@ -100,6 +100,7 @@ IF ( BUILD_${LIBRARY_NAME} ) src/kernel/marTypes.h src/kernel/marParameters.h src/kernel/marDynData.h + src/kernel/creaMaracasVisu_EXPORT.h ) #---------------------------------------------------------------------------- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx index 70fbc81..f05103c 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx @@ -639,7 +639,7 @@ void wxMaracasCoutourTool::EreaseLastCP(wxCommandEvent& event) { while(!feof(fd)) { - fscanf(fd,""); // ?? JPRx + //fscanf(fd,""); // ?? JPRx //fscanf(fd," %s %d",&firstline,&size);// JPRx fscanf(fd," %s %d",firstline,&size); _SizesC.push_back(size); diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx index 837cab6..a4aba98 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx @@ -47,16 +47,16 @@ void vtkInteractorStyle3DMaracas::OnMouseMove () { // this->vtkInteractorStyleTrackballCamera::OnMouseMove(); - int x = this->Interactor->GetEventPosition()[0]; - int y = this->Interactor->GetEventPosition()[1]; + /* int x = */ this->Interactor->GetEventPosition()[0]; // JPRx (unused) + /* int y = */ this->Interactor->GetEventPosition()[1]; // JPRx (unused) vtkRenderWindowInteractor *rwi = this->Interactor; - int lx = rwi->GetLastEventPosition()[0]; - int ly = rwi->GetLastEventPosition()[1]; - int dx = rwi->GetEventPosition()[0] ; - int dy = rwi->GetEventPosition()[1] ; + /* int lx = */ rwi->GetLastEventPosition()[0]; // JPRx (unused) + /* int ly = */ rwi->GetLastEventPosition()[1]; // JPRx (unused) + /* int dx = */ rwi->GetEventPosition()[0] ; // JPRx (unused) + /* int dy = */ rwi->GetEventPosition()[1] ; // JPRx (unused) switch (this->State)