diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-03-20 17:22:55 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-03-20 17:22:55 +0000 |
| commit | f126378de66bb2ad0836e552205714f1c0cb3f2e (patch) | |
| tree | c859dcd33c5aac5e1a0ff8ea88be7616eb9e050d /Source/Core/Common/Src/FileUtil.cpp | |
| parent | 0489ccd4208cd8a6e0dd7f74a409d44d1072e5cd (diff) | |
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
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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); |
