From f126378de66bb2ad0836e552205714f1c0cb3f2e Mon Sep 17 00:00:00 2001 From: hrydgard Date: Fri, 20 Mar 2009 17:22:55 +0000 Subject: Don't log when File::Exist fails - that's just obnoxious. fix a const. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2692 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Source/Core/Common/Src/FileUtil.cpp') diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 55e66b5d8b..b4ab4b4b00 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -72,12 +72,6 @@ bool Exists(const char *filename) char *copy = StripTailDirSlashes(strdup(filename)); int result = stat(copy, &file_info); - - if (result < 0) - { - WARN_LOG(COMMON, "Exist: stat failed on %s: %s", filename, - GetLastErrorMsg()); - } free(copy); return (result == 0); -- cgit v1.2.3