From: jean-pierre roux Date: Wed, 27 Jul 2011 15:26:42 +0000 (+0000) Subject: (some of the) unused variables X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2a8a9b27d2eba4985b76d2f0218fd4ba83784ca9;p=creaImageIO.git (some of the) unused variables --- diff --git a/src/creaImageIOGimmickView.cpp b/src/creaImageIOGimmickView.cpp index 2db53c5..5ad0525 100644 --- a/src/creaImageIOGimmickView.cpp +++ b/src/creaImageIOGimmickView.cpp @@ -705,6 +705,7 @@ void GimmickView::ReadImagesNotThreadedInVector(std::vector& s, s } else if (im.size()>1) // Test inutile ? JPR { + /// \TODO fix unused variable 'first' vtkImageData* first = mReader.GetImage( im.front()); if (dimension == 2) { diff --git a/src/creaImageIOTreeHandlerImageAdder.cpp b/src/creaImageIOTreeHandlerImageAdder.cpp index ce619c3..4f3d452 100644 --- a/src/creaImageIOTreeHandlerImageAdder.cpp +++ b/src/creaImageIOTreeHandlerImageAdder.cpp @@ -47,9 +47,9 @@ namespace creaImageIO { mProgress.Reset(); - unsigned int nbf = filenames.size(); + //unsigned int nbf = filenames.size(); std::vector::const_iterator i; - mSynchronizer->GetList(mCurrentDB); + mSynchronizer->GetList(mCurrentDB); for (i=filenames.begin();i!=filenames.end();++i) { @@ -255,9 +255,10 @@ namespace creaImageIO mProgress.IncNumberScannedDirs(); if ( !fs::exists( dirpath ) ) return; - time_t lastModif=fs::last_write_time(dirpath); + + /// \TODO fix warning: unused variable lastModif + time_t lastModif=fs::last_write_time(dirpath); - fs::directory_iterator end_itr; // default construction yields past-the-end for ( fs::directory_iterator itr( dirpath ); itr != end_itr; diff --git a/src/creaImageIOWxAttributeSelectionPanel.cpp b/src/creaImageIOWxAttributeSelectionPanel.cpp index 29538b9..12d7043 100644 --- a/src/creaImageIOWxAttributeSelectionPanel.cpp +++ b/src/creaImageIOWxAttributeSelectionPanel.cpp @@ -32,7 +32,8 @@ namespace creaImageIO { GimmickDebugMessage(1,"WxCustomizeConfigPanel::WxCustomizeConfigPanel" <