From 4f65d8cc3ee3c4c7bd83e2947c33619acc1bc6ee Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Thu, 29 Apr 2010 15:39:43 +0000 Subject: [PATCH] comment out unused --- .../src/CutModule/interface/CutModelMainPanel.cxx | 6 +++--- .../wxWindows/widgets/manualContour/manualBaseModel.cpp | 4 +--- .../widgets/manualContour/manualContourBaseControler.cpp | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/maracasVisuLib/src/CutModule/interface/CutModelMainPanel.cxx b/lib/maracasVisuLib/src/CutModule/interface/CutModelMainPanel.cxx index c667375..68dbb67 100644 --- a/lib/maracasVisuLib/src/CutModule/interface/CutModelMainPanel.cxx +++ b/lib/maracasVisuLib/src/CutModule/interface/CutModelMainPanel.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: CutModelMainPanel.cxx,v $ Language: C++ -Date: $Date: 2010/03/31 12:41:56 $ -Version: $Revision: 1.8 $ +Date: $Date: 2010/04/29 15:39:43 $ +Version: $Revision: 1.9 $ Copyright: (c) 2002, 2003 License: @@ -255,7 +255,7 @@ void CutModelMainPanel::onUndo() { try{ checkInvariant(); - int result = cutmanager->Undo(); // result unused// JPR + /*int result = */ cutmanager->Undo(); // result unused// JPR }catch(CutModelException e){ showErrorDialog(e.getCause()); diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.cpp index 5819d6c..43a52ba 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.cpp @@ -67,7 +67,6 @@ int manualBaseModel::InsertPoint(double x,double y,double z) } } - InsertPoint_id(ibak,x,y,z); return ibak; @@ -119,7 +118,6 @@ void manualBaseModel::MoveAllPoints(double dx,double dy,double dz) } } - // ---------------------------------------------------------------------------- // type=-1 x,y,z // type=0 y,z @@ -184,7 +182,7 @@ int manualBaseModel::GetIdPoint(double x, double y, double z, int i_range,int t // ---------------------------------------------------------------------------- int manualBaseModel::IsPoint(double x, double y) { - double xx,yy,zz; + double xx,yy/*,zz*/; bool exists=false; int i,size=_lstPoints.size(); for (i=0;iSelectPosibleContour(x,y,z); + /*bool temp = */ _manViewBaseCont->SelectPosibleContour(x,y,z); _manViewBaseCont->SelectPosiblePoint(x,y,z); -- 2.45.1