X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestAllVM.cxx;h=fadab1756cdfbf5d16f97f4a90648d0cc385e376;hb=7cd88a1f47eccb99922d30d19cda56a5fee5f697;hp=8c28b66125e1994500524979aca1e165f4aa6302;hpb=e8e92cc914e652a6bbb3bcec2e16eabf97afb0af;p=gdcm.git diff --git a/Testing/TestAllVM.cxx b/Testing/TestAllVM.cxx index 8c28b661..fadab175 100644 --- a/Testing/TestAllVM.cxx +++ b/Testing/TestAllVM.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestAllVM.cxx,v $ Language: C++ - Date: $Date: 2006/03/25 17:02:11 $ - Version: $Revision: 1.12 $ + Date: $Date: 2006/07/05 13:08:32 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -36,9 +36,10 @@ int DoTheVMTest(std::string const &filename) gdcm::DocEntry *d = file->GetFirstEntry(); std::cerr << "Testing file : " << filename << std::endl; + gdcm::DataEntry *de; while(d) { - if ( gdcm::DataEntry *de = dynamic_cast(d) ) + if ( (de = dynamic_cast(d)) ) { if ( !(de->GetGroup() % 2) ) // Don't check shadow elements. Righ now, // Private Dictionnary are not dealt with