From ed82e2bf4ae24279e1f1ac87813b8f82cd2326af Mon Sep 17 00:00:00 2001 From: Xilmi Date: Sat, 20 Jul 2024 21:02:39 +0200 Subject: [PATCH] Warnings Removed unused variable. --- AI/Nullkiller/Engine/Nullkiller.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/AI/Nullkiller/Engine/Nullkiller.cpp b/AI/Nullkiller/Engine/Nullkiller.cpp index 046bccf59..9ef4816b4 100644 --- a/AI/Nullkiller/Engine/Nullkiller.cpp +++ b/AI/Nullkiller/Engine/Nullkiller.cpp @@ -649,8 +649,6 @@ bool Nullkiller::handleTrading() if (mostExpendable == mostWanted || mostWanted == -1 || mostExpendable == -1) return false; - int acquiredResources = 0; - int toGive; int toGet; m->getOffer(mostExpendable, mostWanted, toGive, toGet, EMarketMode::RESOURCE_RESOURCE);