From ca78db7b1c30ba0bbb64db3cf28cc92643d49d8e Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Tue, 27 Jan 2009 09:07:40 +0000 Subject: [PATCH] * Unused vars suppressed * Missing header install fixed --- lib/maracasVisuLib/CMakeLists.txt | 1 + .../wxWindows/Contour/ContourCrownWidget.cxx | 2 +- .../wxVTKRenderWindowInteractorEditContour.cxx | 12 ++++++------ 3 files changed, 8 insertions(+), 7 deletions(-) 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) -- 2.47.1