From c017c61d2cd1bfc341abbb8b670ffda8ab63efa1 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 17 Mar 2026 11:37:49 -0700 Subject: [PATCH] fix: remove unused syncCounts variable in Warden handler Eliminates the -Wunused-variable warning for the syncCounts array that was declared but never populated in the synchronous Warden check response path. --- src/game/game_handler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 21c146d2..bb06c781 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -10235,8 +10235,6 @@ void GameHandler::handleWardenData(network::Packet& packet) { // Log synchronous round summary at WARNING level for diagnostics { - int syncCounts[10] = {}; - // Re-count (we don't have per-check counters in sync path yet) LOG_WARNING("Warden: (sync) Parsed ", checkCount, " checks, resultSize=", resultData.size()); std::string fullHex; for (size_t bi = 0; bi < resultData.size(); bi++) {