summaryrefslogtreecommitdiffstats
path: root/src/web_service
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-07-12 08:18:33 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-07-12 08:30:45 +0200
commit4503a4ac43bb2d8518ae09757a59450df2292f50 (patch)
treed5d9051d570e34acb005a2282d95a1de4367c82d /src/web_service
parentboxcat: Silence -Wmaybe-uninitialized in httplib.h (diff)
downloadyuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar.gz
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar.bz2
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar.lz
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar.xz
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.tar.zst
yuzu-4503a4ac43bb2d8518ae09757a59450df2292f50.zip
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/web_backend.cpp10
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 @@
#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"