]> Creatis software - gdcm.git/blobdiff - Testing/VTKTestRead.cxx
* Fix compilation warnings on linux
[gdcm.git] / Testing / VTKTestRead.cxx
index f17b7512e71605fa86e655b58349d3f10b3085fa..186afda0caedc9b23db178bc32a07c3d51fe1535 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: VTKTestRead.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/09 15:31:15 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2005/11/21 10:06:47 $
+  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
@@ -39,7 +39,7 @@ int VTKReadTest(vtkTesting *t,vtkImageViewer *viewer,
                 std::string const &filename, 
                 std::string const &referenceFileName)
 {
-   int retVal = 0;  //by default this is an error
+   int retVal; // = 0; (to avoid bcc5.5 warnings)
 
    t->CleanArguments();
    t->AddArgument("-D");
@@ -204,6 +204,8 @@ int VTKTestRead(int argc, char *argv[])
 
       return ret;
    }
+   
+   gdcm::Debug::DebugOn(); // Comment out when no bug is to be tracked
 
    // Test for all images
    int i = 0;