]> Creatis software - gdcm.git/commitdiff
Avoid warning
authorjpr <jpr>
Mon, 7 Nov 2005 10:18:20 +0000 (10:18 +0000)
committerjpr <jpr>
Mon, 7 Nov 2005 10:18:20 +0000 (10:18 +0000)
Testing/loadmodule.cxx

index a27aa99509052f08ca839b503f164d459629a0c7..0d72007cb2f6d7ddbc06397cc26f73e2f97ac55d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: loadmodule.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/03 16:19:56 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2005/11/07 10:18:20 $
+  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
@@ -78,6 +78,7 @@ int main(int, char* [])
   // that the problematic gdcm-library is linked.
   //itk::GDCMImageIO::Pointer gdcmio = itk::GDCMImageIO::New();
   gdcm::File *file = gdcm::File::New();
+  file->Print(); // to avoid warning
   
   std::cerr << "Closing libs" << std::endl;
   //dl::CloseLibrary(handle);