Browse Source
Merge pull request #8231 from german77/warning
input_common: Ignore boost uninitialized local variable
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
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 { |
|
|
|
|