]> Creatis software - clitk.git/commitdiff
Fixed wrong file name: was launching an exception
authorsrit <srit>
Mon, 8 Mar 2010 16:25:58 +0000 (16:25 +0000)
committersrit <srit>
Mon, 8 Mar 2010 16:25:58 +0000 (16:25 +0000)
common/clitkXdrImageIOReader.cxx

index 2c81a95d7d6accbe0fa2f1b1535d993b740ff8b1..ce9487da33a89562afa5baa464952c9837ec5715 100644 (file)
@@ -1008,10 +1008,10 @@ bool clitk::XdrImageIO::CanReadFile(const char* FileNameToRead)
 
     fstream = fopen(FileNameToRead, "rt");
     if (fstream == NULL)
-    {
-        AVSerror("Couldn't open file " << FileNameToRead);
+//    {
+//        AVSerror("Couldn't open file " << FileNameToRead);
         return false;
-    }
+//    }
     fgets(temp, 500, fstream);
     fclose(fstream);