From 61a1033e5c75e8318340a3789c35ec6d008432cd Mon Sep 17 00:00:00 2001 From: jhurst Date: Tue, 4 Aug 2009 18:43:10 +0000 Subject: build JP2K parsers with file lists --- src/KM_fileio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/KM_fileio.cpp') diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp index fba8578..b9257ab 100644 --- a/src/KM_fileio.cpp +++ b/src/KM_fileio.cpp @@ -1455,7 +1455,9 @@ Kumu::DeleteFile(const std::string& filename) Result_t h__DeletePath(const std::string& pathname) { - fprintf(stderr, "h__DeletePath %s\n", pathname.c_str()); + if ( pathname.empty() ) + return RESULT_NULL_STR; + Result_t result = RESULT_OK; if ( ! PathIsDirectory(pathname) ) -- cgit v1.2.3