summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-04-20 18:20:46 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2022-04-20 18:28:24 -0500
commit17bff6bf572e1197716303dfcef4be75f351b76e (patch)
tree60bddad7aeae6f08104555dce5d366d32dba22f0
parent5fdeda5ee8ca878f9d57f5291266a8339d8c6169 (diff)
input_common: Ignore boost uninitialized local variable
-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 {