diff options
| author | 2022-04-20 18:20:46 -0500 | |
|---|---|---|
| committer | 2022-04-20 18:28:24 -0500 | |
| commit | 17bff6bf572e1197716303dfcef4be75f351b76e (patch) | |
| tree | 60bddad7aeae6f08104555dce5d366d32dba22f0 /src/input_common/helpers/udp_protocol.h | |
| parent | Merge pull request #8228 from liamwhite/bump-dynarmic (diff) | |
| download | yuzu-17bff6bf572e1197716303dfcef4be75f351b76e.tar.gz yuzu-17bff6bf572e1197716303dfcef4be75f351b76e.tar.xz yuzu-17bff6bf572e1197716303dfcef4be75f351b76e.zip | |
input_common: Ignore boost uninitialized local variable
Diffstat (limited to 'src/input_common/helpers/udp_protocol.h')
| -rw-r--r-- | src/input_common/helpers/udp_protocol.h | 9 |
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 @@ | |||
| 8 | #include <optional> | 8 | #include <optional> |
| 9 | #include <type_traits> | 9 | #include <type_traits> |
| 10 | 10 | ||
| 11 | #ifdef _MSC_VER | ||
| 12 | #pragma warning(push) | ||
| 13 | #pragma warning(disable : 4701) // Potentially uninitialized local variable 'result' used | ||
| 14 | #endif | ||
| 15 | |||
| 11 | #include <boost/crc.hpp> | 16 | #include <boost/crc.hpp> |
| 12 | 17 | ||
| 18 | #ifdef _MSC_VER | ||
| 19 | #pragma warning(pop) | ||
| 20 | #endif | ||
| 21 | |||
| 13 | #include "common/swap.h" | 22 | #include "common/swap.h" |
| 14 | 23 | ||
| 15 | namespace InputCommon::CemuhookUDP { | 24 | namespace InputCommon::CemuhookUDP { |