disable C4715:not all control paths return a value for nihstro includes

nihstro: no warn
This commit is contained in:
SachinVin
2023-04-02 19:44:17 +05:30
parent f77b16235f
commit 606d79b55d
8 changed files with 82 additions and 2 deletions

View File

@@ -10,7 +10,17 @@
#include <memory>
#include <catch2/catch_approx.hpp>
#include <catch2/catch_test_macros.hpp>
// TODO(SachinV): Remove once we figure out why the /W0 is not enforced
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4715) // not all control paths return a value
#endif
#include <nihstro/inline_assembly.h>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include "video_core/shader/shader_interpreter.h"
#include "video_core/shader/shader_jit_x64_compiler.h"