]> Creatis software - clitk.git/blobdiff - itk/clitkRelativePositionDataBase.cxx
Remove warnings
[clitk.git] / itk / clitkRelativePositionDataBase.cxx
index 1512e4c9059cfa1c9466d308473960cdfb4214bf..9ae6dd9fbba5ae27d8c294d16f133cbfe4d21f1f 100644 (file)
@@ -167,7 +167,6 @@ namespace clitk {
   std::vector<std::string> & RelativePositionDataBase::GetListOfPatients(const IndexType & index) const
   {
     const MapByPatientType & o = GetMapByPatient(index);
-    MapByPatientType::const_iterator iter = o.begin();
     std::vector<std::string> * v = new std::vector<std::string>; 
     MapToVecFirst(o, *v);
     return *v;
@@ -223,7 +222,7 @@ namespace clitk {
   bool RelativePositionDataBase::CheckIndex(const IndexType & index) const
   {
     try {
-      const RelativePositionInformationType & m =  GetInformation(index);
+      /*const RelativePositionInformationType & m = */ GetInformation(index);
     } catch (clitk::ExceptionObject e) {
       // std::cout << e.what() << std::endl;      
       return false;