From 46219bf8615127f9ab240e9bcc2efa30ba503b04 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 25 Oct 2007 07:57:33 +0000 Subject: [PATCH] avoid warnings --- Testing/TestReadWriteReadCompare.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Testing/TestReadWriteReadCompare.cxx b/Testing/TestReadWriteReadCompare.cxx index 4a81f029..18e87875 100644 --- a/Testing/TestReadWriteReadCompare.cxx +++ b/Testing/TestReadWriteReadCompare.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestReadWriteReadCompare.cxx,v $ Language: C++ - Date: $Date: 2007/10/19 15:14:05 $ - Version: $Revision: 1.35 $ + Date: $Date: 2007/10/25 07:57:33 $ + Version: $Revision: 1.36 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -137,7 +137,7 @@ static int CompareInternal(std::string const &filename, std::string const &outpu } // Test the data content - unsigned int j = 0; + unsigned int nbDiff = 0; if (memcmp(imageData, imageDataWritten, dataSizeFixed) !=0) { @@ -206,7 +206,7 @@ static int CompareInternal(std::string const &filename, std::string const &outpu << " bytes differing (pos : original - written) :" << std::endl; - for(int i=0, j=0; i