mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-22 23:43:35 +00:00
Merge pull request #8231 from german77/warning
input_common: Ignore boost uninitialized local variable
This commit is contained in:
commit
ea07e61d3d
1 changed files with 9 additions and 0 deletions
|
@ -8,8 +8,17 @@
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable : 4701) // Potentially uninitialized local variable 'result' used
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/crc.hpp>
|
#include <boost/crc.hpp>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "common/swap.h"
|
#include "common/swap.h"
|
||||||
|
|
||||||
namespace InputCommon::CemuhookUDP {
|
namespace InputCommon::CemuhookUDP {
|
||||||
|
|
Loading…
Reference in a new issue