From: jpr Date: Fri, 9 Nov 2007 08:33:19 +0000 (+0000) Subject: avoid warnings X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1368bea88176152c327212c0b21887a840475cb8;p=gdcm.git avoid warnings --- diff --git a/Testing/TestReadWriteJPEGReadCompare.cxx b/Testing/TestReadWriteJPEGReadCompare.cxx index a6740607..da39e64e 100755 --- a/Testing/TestReadWriteJPEGReadCompare.cxx +++ b/Testing/TestReadWriteJPEGReadCompare.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestReadWriteJPEGReadCompare.cxx,v $ Language: C++ - Date: $Date: 2007/10/19 15:29:57 $ - Version: $Revision: 1.12 $ + Date: $Date: 2007/11/09 08:33:19 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -149,7 +149,7 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o } // Test the data content - unsigned int j = 0; + // unsigned int j = 0; unsigned int nbDiff = 0; unsigned int lengthToCompare = file->GetXSize()*file->GetYSize()*file->GetZSize() *file->GetPixelSize()*file->GetSamplesPerPixel(); @@ -184,7 +184,7 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o << " bytes differing (pos : original - written) :" << std::endl; - for(int i=0, j=0; i 2) { @@ -194,7 +194,7 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o << (int)(imageData[i]) << " - " << (int)(imageDataWritten[i]) << ") " << std::dec; - ++j; + ++j2; } } std::cout << std::endl; @@ -225,7 +225,7 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o << " bytes differing (pos : original - written) :" << std::endl; - for(int i=0, j1=0; i