From: srit Date: Mon, 8 Mar 2010 16:25:58 +0000 (+0000) Subject: Fixed wrong file name: was launching an exception X-Git-Tag: v1.2.0~769 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2129ed03750ba244e0dca98a0484014f01ce20d0;p=clitk.git Fixed wrong file name: was launching an exception --- diff --git a/common/clitkXdrImageIOReader.cxx b/common/clitkXdrImageIOReader.cxx index 2c81a95..ce9487d 100644 --- a/common/clitkXdrImageIOReader.cxx +++ b/common/clitkXdrImageIOReader.cxx @@ -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);