Author: mordante
Date: Sun Jul 31 18:56:46 2011
New Revision: 50521
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50521&view=rev
Log:
Remove a variable which is only assigned.
Issue found by cppcheck.
Modified:
trunk/src/playcampaign.cpp
Modified: trunk/src/playcampaign.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playcampaign.cpp?rev=50521&r1=50520&r2=50521&view=diff
==============================================================================
--- trunk/src/playcampaign.cpp (original)
+++ trunk/src/playcampaign.cpp Sun Jul 31 18:56:46 2011
@@ -556,7 +556,6 @@
if(scenario != NULL) {
// Update the label
- std::string oldlabel = gamestate.classification().label;
if (gamestate.classification().abbrev.empty())
gamestate.classification().label =
(*scenario)["name"].str();
else {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits