From 054ea4564df2afb999a3a63200b5a70849f7f48f Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 20 Sep 2007 07:43:35 +0000 Subject: [PATCH] Stop panic users with useless 'error' messages --- src/gdcmDirList.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gdcmDirList.cxx b/src/gdcmDirList.cxx index 090d3ce3..005700a7 100644 --- a/src/gdcmDirList.cxx +++ b/src/gdcmDirList.cxx @@ -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; } } -- 2.45.1