From 4ef714aa4c40cf66edcaca599f7e74cc1e823778 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 4 Jun 2017 15:08:50 +0200 Subject: [PATCH] [ZoneBuilder] Disable resharper warnings --- src/Components/Modules/ZoneBuilder.cpp | 1 + src/Utils/String.hpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/ZoneBuilder.cpp b/src/Components/Modules/ZoneBuilder.cpp index 89ffe091..0f5b390a 100644 --- a/src/Components/Modules/ZoneBuilder.cpp +++ b/src/Components/Modules/ZoneBuilder.cpp @@ -908,6 +908,7 @@ namespace Components frames++; } + // ReSharper disable once CppUnreachableCode return 0; } diff --git a/src/Utils/String.hpp b/src/Utils/String.hpp index 08ef10c8..88dc2557 100644 --- a/src/Utils/String.hpp +++ b/src/Utils/String.hpp @@ -68,7 +68,6 @@ namespace Utils char* buffer; }; - size_t currentBuffer; Entry stringPool[Buffers]; };