From a1d519ad9d8ca62d681a8494218c74e5bb28df8a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 16 Feb 2015 22:37:46 +0100 Subject: [PATCH] Comment out RARCH_ERR in file_path.c --- libretro-sdk/file/file_path.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libretro-sdk/file/file_path.c b/libretro-sdk/file/file_path.c index d60d4f683e..926e3a3609 100644 --- a/libretro-sdk/file/file_path.c +++ b/libretro-sdk/file/file_path.c @@ -572,8 +572,10 @@ static bool path_mkdir_norecurse(const char *dir) /* Don't treat this as an error. */ if (ret < 0 && errno == EEXIST && path_is_directory(dir)) ret = 0; +#if 0 if (ret < 0) RARCH_ERR("mkdir(%s) error: %s.\n", dir, strerror(errno)); +#endif return ret == 0; } @@ -619,8 +621,10 @@ bool path_mkdir(const char *dir) } end: +#if 0 if (target && !ret) RARCH_ERR("Failed to create directory: \"%s\".\n", target); +#endif free(basedir); return ret; } @@ -874,7 +878,7 @@ void fill_pathname_application_path(char *buf, size_t size) } } - RARCH_ERR("Cannot resolve application path! This should not happen.\n"); + /* Cannot resolve application path! This should not happen. */ #endif } #endif