diff options
| author | 2021-07-12 22:11:19 -0700 | |
|---|---|---|
| committer | 2021-07-12 22:11:19 -0700 | |
| commit | b8becb0608f391f6c08fe75da6bb0f44b31221c7 (patch) | |
| tree | 540a4b3052e0bacd6cb6172b3457b470f2fa7ca8 /src/web_service/web_backend.cpp | |
| parent | Merge pull request #6618 from ReinUsesLisp/bad-ranges (diff) | |
| parent | web_service: Silence -Wmaybe-uninitialized on httplib.h (diff) | |
| download | yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.gz yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.tar.xz yuzu-b8becb0608f391f6c08fe75da6bb0f44b31221c7.zip | |
Merge pull request #6615 from ReinUsesLisp/httplib-debug-warnings
boxcat,web_service: Silence -Wmaybe-uninitialized when including httplib.h
Diffstat (limited to 'src/web_service/web_backend.cpp')
| -rw-r--r-- | src/web_service/web_backend.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
| 8 | #include <string> | 8 | #include <string> |
| 9 | 9 | ||
| 10 | #include <fmt/format.h> | 10 | #include <fmt/format.h> |
| 11 | |||
| 12 | #ifdef __GNUC__ | ||
| 13 | #pragma GCC diagnostic push | ||
| 14 | #ifndef __clang__ | ||
| 15 | #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" | ||
| 16 | #endif | ||
| 17 | #endif | ||
| 11 | #include <httplib.h> | 18 | #include <httplib.h> |
| 19 | #ifdef __GNUC__ | ||
| 20 | #pragma GCC diagnostic pop | ||
| 21 | #endif | ||
| 12 | 22 | ||
| 13 | #include "common/logging/log.h" | 23 | #include "common/logging/log.h" |
| 14 | #include "web_service/web_backend.h" | 24 | #include "web_service/web_backend.h" |