From 2cf6984d47474fb5efa88ba81f42c3c5411edca2 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 27 Jul 2011 15:26:41 +0000 Subject: [PATCH] (some of the) unused variables --- packages/vtk/src/bbvtkCSVReader.cxx | 2 +- packages/vtk/src/bbvtkPolyDataReaderPlus.cxx | 4 ++-- packages/vtk/src/bbvtkPolyDataWriterPlus.cxx | 2 +- packages/vtk/src/names.cxx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/vtk/src/bbvtkCSVReader.cxx b/packages/vtk/src/bbvtkCSVReader.cxx index bc30305..a9e0be1 100755 --- a/packages/vtk/src/bbvtkCSVReader.cxx +++ b/packages/vtk/src/bbvtkCSVReader.cxx @@ -84,7 +84,7 @@ vtkImageData* CSVReader::createImage(std::vector< std::vector > info, in { vtkImageData* final = vtkImageData::New(); - int ext[6]; + //int ext[6]; int newDim[3]; //double space[3]; double origin[3]; diff --git a/packages/vtk/src/bbvtkPolyDataReaderPlus.cxx b/packages/vtk/src/bbvtkPolyDataReaderPlus.cxx index ab887e2..4f7e922 100644 --- a/packages/vtk/src/bbvtkPolyDataReaderPlus.cxx +++ b/packages/vtk/src/bbvtkPolyDataReaderPlus.cxx @@ -35,7 +35,7 @@ void PolyDataReaderPlus::Process() reader->SetFileName(bbGetInputInPath().data()); informacion = (vtkPolyData*)reader->GetOutput(); reader->CloseVTKFile(); - vtkPolyData* old = bbGetOutputOut(); + vtkPolyData* old = bbGetOutputOut(); // old unused ? // JPR bbSetOutputOut(informacion); readed = true; } @@ -46,7 +46,7 @@ void PolyDataReaderPlus::Process() reader->SetFileName(bbGetInputInPath().data()); informacion = reader->GetOutput(); - vtkPolyData* old = bbGetOutputOut(); + vtkPolyData* old = bbGetOutputOut(); // old unused ? // JPR bbSetOutputOut(informacion); readed = true; } diff --git a/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx b/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx index 2cc637e..ad81efb 100755 --- a/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx +++ b/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx @@ -12,7 +12,7 @@ void PolyDataWriterPlus::Process() if (!HasObserver(OBS_PRE_WRITER_1) && bbGetInputInPrePersistObs1() != NULL) AddObserver(OBS_PRE_WRITER_1, bbGetInputInPrePersistObs1()); - // warning: NULL used in arithmetic // JPR + /// \TODO fix warning: NULL used in arithmetic // JPR if (!HasObserver(OBS_POST_WRITER_1) == NULL && bbGetInputInPostPersistObs1() != NULL) AddObserver(OBS_POST_WRITER_1, bbGetInputInPostPersistObs1()); diff --git a/packages/vtk/src/names.cxx b/packages/vtk/src/names.cxx index dfdb011..4c01e5c 100755 --- a/packages/vtk/src/names.cxx +++ b/packages/vtk/src/names.cxx @@ -44,7 +44,7 @@ std::string StringReplace(std::string in, std::string viejo, std::string nuevo) while (found!=std::string::npos) { //Mienstras halla - int inicio = int(found); + //int inicio = int(found); // JPR in.replace(found,viejo.length(),nuevo); found=in.find(viejo); } -- 2.47.1