From: mpech Date: Mon, 25 Jul 2011 14:22:15 +0000 (+0200) Subject: removing warnings: unused variable, tmpnam X-Git-Tag: v1.3.0~253^2~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8b7357d079eaecb4cbbc3c0cf8f104aa4dce9b0a;p=clitk.git removing warnings: unused variable, tmpnam --- diff --git a/common/clitkDicomRT_Contour.cxx b/common/clitkDicomRT_Contour.cxx index 633064e..0cc62b0 100644 --- a/common/clitkDicomRT_Contour.cxx +++ b/common/clitkDicomRT_Contour.cxx @@ -82,7 +82,6 @@ bool clitk::DicomRT_Contour::Read(gdcm::Item const & item) const gdcm::DataElement & contourdata = nestedds2.GetDataElement( tcontourdata ); at.SetFromDataElement( contourdata ); const double* points = at.GetValues(); - unsigned int npts = at.GetNumberOfValues() / 3; assert(at.GetNumberOfValues() == static_cast(mNbOfPoints)*3); diff --git a/tests/tools/toolTestRunner.cxx b/tests/tools/toolTestRunner.cxx index 192f77b..768afec 100644 --- a/tests/tools/toolTestRunner.cxx +++ b/tests/tools/toolTestRunner.cxx @@ -23,6 +23,7 @@ #include #include const int NO_OUTPUT_OPTION=-1; +const int TEST_EXITED=1; int getOutputOptionIndex(int argc, char** argv){ for(int i=1; i"<