summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-04-21 02:48:40 +0200
committerGitHub <noreply@github.com>2022-04-21 02:48:40 +0200
commitea07e61d3d6ff553d4a728648a140fe7ca354573 (patch)
tree36d7ead5a5020711678070ea962a70178c957afb
parentMerge pull request #8224 from Docteh/hihi1 (diff)
parentinput_common: Ignore boost uninitialized local variable (diff)
downloadyuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar.gz
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar.bz2
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar.lz
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar.xz
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.tar.zst
yuzu-ea07e61d3d6ff553d4a728648a140fe7ca354573.zip
-rw-r--r--src/input_common/helpers/udp_protocol.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input_common/helpers/udp_protocol.h b/src/input_common/helpers/udp_protocol.h
index 9c205e944..597f51cd3 100644
--- a/src/input_common/helpers/udp_protocol.h
+++ b/src/input_common/helpers/udp_protocol.h
@@ -8,8 +8,17 @@
#include <optional>
#include <type_traits>
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning(disable : 4701) // Potentially uninitialized local variable 'result' used
+#endif
+
#include <boost/crc.hpp>
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+
#include "common/swap.h"
namespace InputCommon::CemuhookUDP {