Author: mordante
Date: Sun Jul 31 18:56:41 2011
New Revision: 50519

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50519&view=rev
Log:
Remove a variable which is only assigned.

Issue found by cppcheck.

Modified:
    trunk/src/game_controller.cpp

Modified: trunk/src/game_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_controller.cpp?rev=50519&r1=50518&r2=50519&view=diff
==============================================================================
--- trunk/src/game_controller.cpp (original)
+++ trunk/src/game_controller.cpp Sun Jul 31 18:56:41 2011
@@ -525,7 +525,6 @@
                                        side = &faction;
                        }
                        if ((*side)["random_faction"].to_bool()) {
-                               std::string side_name = (type == 
side_types.end() ? "default" : type->second);
                                std::cerr << "Could not find any non-random 
faction for side " << side_num << "\n";
                                return false;
                        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to