diff --git a/rpcs3/stb_image.cpp b/rpcs3/stb_image.cpp index fa277e5b4a..d4f9674fff 100644 --- a/rpcs3/stb_image.cpp +++ b/rpcs3/stb_image.cpp @@ -18,11 +18,11 @@ #pragma GCC diagnostic ignored "-Wold-style-cast" #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wcast-qual" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#pragma GCC diagnostic ignored "-Wsign-compare" #ifndef __clang__ +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" #pragma GCC diagnostic ignored "-Wduplicated-branches" #endif +#pragma GCC diagnostic ignored "-Wsign-compare" #include #include #pragma GCC diagnostic pop