Author: mordante
Date: Sun Jul 31 18:56:43 2011
New Revision: 50520
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50520&view=rev
Log:
Remove a variable which is only assigned.
Issue found by cppcheck.
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=50520&r1=50519&r2=50520&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sun Jul 31 18:56:43 2011
@@ -787,7 +787,6 @@
{
std::vector<team> &teams = *resources::teams;
- std::string name = cfg["name"];
std::string team_name = cfg["team_name"];
std::string user_team_name = cfg["user_team_name"];
std::string controller = cfg["controller"];
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits