From 165204f159e385607fa7ec10805d464d7fed2cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 6 Apr 2017 01:44:21 +0200 Subject: [PATCH] unit.cpp: remove unused variable. Found by cppcheck. [src/units/unit.cpp:2061]: (style) Unused variable: remove_indices --- src/units/unit.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/units/unit.cpp b/src/units/unit.cpp index 68a7a7cd2a7..b0f939ef528 100644 --- a/src/units/unit.cpp +++ b/src/units/unit.cpp @@ -2058,7 +2058,6 @@ void unit::apply_builtin_effect(std::string apply_to, const config& effect) } temp_advances = utils::parenthetical_split(amlas, ','); - std::vector remove_indices; for(int i = advancements_.size() - 1; i >= 0; i--) { if(std::find(temp_advances.begin(), temp_advances.end(), advancements_[i]["id"]) != temp_advances.end()) {