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); diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureConversionShader.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureConversionShader.cpp index d69f7c2b36..0a6ee3a67e 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/TextureConversionShader.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureConversionShader.cpp @@ -306,7 +306,7 @@ void WriteRGB5X5Encoder(char* p, bool g6Bit) { s32 gBits; float rShift; - char* msbString; + const char* msbString; if(g6Bit) { gBits = 6;