diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-13 07:11:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 07:11:19 +0200 |
commit | b8becb0608f391f6c08fe75da6bb0f44b31221c7 (patch) | |
tree | 540a4b3052e0bacd6cb6172b3457b470f2fa7ca8 /src | |
parent | Merge pull request #6618 from ReinUsesLisp/bad-ranges (diff) | |
parent | web_service: Silence -Wmaybe-uninitialized on httplib.h (diff) | |
download | yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.gz yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.bz2 yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.lz yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.xz yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.zst yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.cpp | 3 | ||||
-rw-r--r-- | src/web_service/web_backend.cpp | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp index dc15cf58b..7ca7f2aac 100644 --- a/src/core/hle/service/bcat/backend/boxcat.cpp +++ b/src/core/hle/service/bcat/backend/boxcat.cpp @@ -7,6 +7,9 @@ #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif #endif #include <httplib.h> #include <mbedtls/sha256.h> diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp index e04f7dfc6..b1e02c57a 100644 --- a/src/web_service/web_backend.cpp +++ b/src/web_service/web_backend.cpp @@ -8,7 +8,17 @@ #include <string> #include <fmt/format.h> + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif +#endif #include <httplib.h> +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif #include "common/logging/log.h" #include "web_service/web_backend.h" |