Author: mordante
Date: Sun Jul 31 18:56:23 2011
New Revision: 50512
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50512&view=rev
Log:
Remove an unused variable.
Issue found by cppcheck.
Modified:
trunk/src/addon/manager.cpp
Modified: trunk/src/addon/manager.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon/manager.cpp?rev=50512&r1=50511&r2=50512&view=diff
==============================================================================
--- trunk/src/addon/manager.cpp (original)
+++ trunk/src/addon/manager.cpp Sun Jul 31 18:56:23 2011
@@ -1256,8 +1256,6 @@
infos.push_back(inf);
}
- std::string pub_option_text, del_option_text;
-
foreach(const std::string& pub, publish_options) {
static const std::string publish_icon =
"icons/icon-addon-publish.png";
const std::string text = _("Publish add-on: ")
+ pub;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits