X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestDataEntry.cxx;h=b4013207e2917803edb2f15354652e9c383e9eb2;hb=4d71ed336c671defd09b0bede749d67caddf4994;hp=b9b2e54203a7d22dbccee0e1c0bf63c26185165f;hpb=bc69950a406d06c50f0fb75a96572784965cb534;p=gdcm.git diff --git a/Testing/TestDataEntry.cxx b/Testing/TestDataEntry.cxx index b9b2e542..b4013207 100644 --- a/Testing/TestDataEntry.cxx +++ b/Testing/TestDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDataEntry.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 08:35:46 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/10/19 15:43:58 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -33,9 +33,9 @@ unsigned long nbvalue = 5; /** * \brief Test the DataEntry object */ -int TestDataEntry(int argc, char *argv[]) +int TestDataEntry(int , char *[]) { - unsigned int error = 0; + unsigned int i; gdcm::DictEntry *dict; gdcm::DataEntry *entry; @@ -131,7 +131,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != svalue[i] ) { @@ -183,7 +183,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != svalue[i] ) { @@ -217,7 +217,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != svalue[i] ) { @@ -269,7 +269,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != lvalue[i] ) { @@ -303,7 +303,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != lvalue[i] ) { @@ -354,7 +354,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != fvalue[i] ) { @@ -388,7 +388,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != fvalue[i] ) { @@ -439,7 +439,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != dvalue[i] ) { @@ -473,7 +473,7 @@ int TestDataEntry(int argc, char *argv[]) delete entry; return(1); } - for(unsigned int i=0;iGetValueCount();i++) + for(i=0;iGetValueCount();i++) { if( entry->GetValue(i) != dvalue[i] ) {