From 8249f7e9bbfd3a4695b90e8fc66c8386f9fce749 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 9 Feb 2014 18:57:18 +0100 Subject: [PATCH] Remove a variable which is only assigned. Issue found by cppcheck. --- src/reports.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/reports.cpp b/src/reports.cpp index 6af0974116a..e6f818be767 100644 --- a/src/reports.cpp +++ b/src/reports.cpp @@ -417,7 +417,6 @@ static config unit_hp(const unit* u) << '/' << u->max_hitpoints() << naps; std::set resistances_table; - utils::string_map resistances = u->get_base_resistances(); bool att_def_diff = false; map_location displayed_unit_hex = resources::screen->displayed_unit_hex();