[General] Disable resharper false positives

This commit is contained in:
momo5502 2017-01-26 22:56:46 +01:00
parent c211fe7fa2
commit 8f705d2c37
3 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ namespace Components
__declspec(naked) void UIFeeder::HandleKeyStub() __declspec(naked) void UIFeeder::HandleKeyStub()
{ {
// ReSharper disable once CppEntityNeverUsed
static int nextClickTime = 0; static int nextClickTime = 0;
__asm __asm

View File

@ -706,6 +706,7 @@ namespace Components
ZoneBuilder::ZoneBuilder() ZoneBuilder::ZoneBuilder()
{ {
// ReSharper disable CppStaticAssertFailure
AssertSize(Game::XFileHeader, 21); AssertSize(Game::XFileHeader, 21);
AssertSize(Game::XFile, 40); AssertSize(Game::XFile, 40);
static_assert(Game::MAX_XFILE_COUNT == 8, "XFile block enum is invalid!"); static_assert(Game::MAX_XFILE_COUNT == 8, "XFile block enum is invalid!");

View File

@ -402,6 +402,7 @@ namespace Game
float UI_GetScoreboardLeft(void* a1) float UI_GetScoreboardLeft(void* a1)
{ {
// ReSharper disable once CppEntityNeverUsed
static int func = 0x590390; static int func = 0x590390;
float result = 0; float result = 0;