From b9948aff1a567faf94df76775240f0ee3f068c1b Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 28 Jan 2005 13:34:40 +0000 Subject: [PATCH] Remove unused variables --- src/VISU_I/VISU_CutLines_i.cc | 3 --- src/VISU_I/VISU_Mesh_i.cc | 2 -- src/VISU_I/VISU_Prs3d_i.cc | 2 -- src/VISU_I/VISU_StreamLines_i.cc | 2 -- src/VISU_I/VISU_Table_i.cc | 2 -- 5 files changed, 11 deletions(-) diff --git a/src/VISU_I/VISU_CutLines_i.cc b/src/VISU_I/VISU_CutLines_i.cc index 94e2cbc5..f5185524 100644 --- a/src/VISU_I/VISU_CutLines_i.cc +++ b/src/VISU_I/VISU_CutLines_i.cc @@ -248,9 +248,6 @@ void VISU::CutLines_i::BuildTableOfReal(SALOMEDS::SObject_ptr theSObject){ typedef map TXYMapCont; typedef map TLineIdCont; - const VISU::TValField& aValField = myField->myValField; - const VISU::PValForTime aValForTime = aValField.find((int)myIteration)->second; - const VISU::TTime& aTime = aValForTime->myTime; QString aTitle; aTitle.sprintf("%s",myTitle.c_str()); aTitle = aTitle.simplifyWhiteSpace(); diff --git a/src/VISU_I/VISU_Mesh_i.cc b/src/VISU_I/VISU_Mesh_i.cc index 9da8c729..8459b5bc 100644 --- a/src/VISU_I/VISU_Mesh_i.cc +++ b/src/VISU_I/VISU_Mesh_i.cc @@ -34,10 +34,8 @@ using namespace std; #ifdef _DEBUG_ static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #else static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #endif static int INCMEMORY = 4; diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 5220a788..bd655338 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -37,10 +37,8 @@ using namespace std; #ifdef _DEBUG_ static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #else static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #endif VISU::Prs3d_i::Prs3d_i(Result_i* theResult, SALOMEDS::SObject_ptr theSObject) : diff --git a/src/VISU_I/VISU_StreamLines_i.cc b/src/VISU_I/VISU_StreamLines_i.cc index f6b5a303..30794fd1 100644 --- a/src/VISU_I/VISU_StreamLines_i.cc +++ b/src/VISU_I/VISU_StreamLines_i.cc @@ -38,10 +38,8 @@ using namespace std; #ifdef _DEBUG_ static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #else static int MYDEBUG = 0; -static int MYDEBUGWITHFILES = 0; #endif int VISU::StreamLines_i::IsPossible(Result_i* theResult, const char* theMeshName, VISU::Entity theEntity, diff --git a/src/VISU_I/VISU_Table_i.cc b/src/VISU_I/VISU_Table_i.cc index 5097767f..d588e45c 100644 --- a/src/VISU_I/VISU_Table_i.cc +++ b/src/VISU_I/VISU_Table_i.cc @@ -990,7 +990,6 @@ int getLine(ifstream& theStmIn, QString& theString){ } void ImportTables(const char* theFileName, TTableCont& theTableCont){ - static int STRPRECISION = 12; ifstream aStmIn; QFileInfo aFileInfo( theFileName ); if( !aFileInfo.isFile() || !aFileInfo.isReadable() || !aFileInfo.size() ) @@ -1126,7 +1125,6 @@ SALOMEDS::SObject_var VISU::ImportTables(const char* theFileName, SALOMEDS::Stud SALOMEDS::AttributeName_var aName = SALOMEDS::AttributeName::_narrow(anAttr); QFileInfo aFileInfo(theFileName); aName->SetValue(aFileInfo.fileName().latin1()); - int iEnd = aTableCont.size(); for(int i = 0, iEnd = aTableCont.size(); i < iEnd; i++){ const TTable2D& aTable2D = aTableCont[i]; SALOMEDS::SObject_var aRealObject = aStudyBuilder->NewObject(aFileObject); -- 2.39.2