]> Creatis software - gdcm.git/commitdiff
Stop panic users with useless 'error' messages
authorjpr <jpr>
Thu, 20 Sep 2007 07:43:35 +0000 (07:43 +0000)
committerjpr <jpr>
Thu, 20 Sep 2007 07:43:35 +0000 (07:43 +0000)
src/gdcmDirList.cxx

index 090d3ce3ef30535c5206baadf96aa63745ef3077..005700a72a42f06499352524bad89c62a5dd9dc4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/09/17 12:21:56 $
-  Version:   $Revision: 1.63 $
+  Date:      $Date: 2007/09/20 07:43:35 $
+  Version:   $Revision: 1.64 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -88,7 +88,8 @@ bool DirList::IsDirectory(std::string const &dirName)
    }
    else
    {
-      gdcmStaticErrorMacro( strerror(errno) );
+      gdcmStaticWarningMacro("[" << dirName << "] not found or is not a Directory");
+      //gdcmStaticErrorMacro( strerror(errno) );
       return false;
    }
 }