Author: mordante
Date: Sun Jul 31 18:56:38 2011
New Revision: 50518
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50518&view=rev
Log:
Remove a variable which is only assigned.
Issue found by cppcheck.
Modified:
trunk/src/editor/editor_controller.cpp
Modified: trunk/src/editor/editor_controller.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor/editor_controller.cpp?rev=50518&r1=50517&r2=50518&view=diff
==============================================================================
--- trunk/src/editor/editor_controller.cpp (original)
+++ trunk/src/editor/editor_controller.cpp Sun Jul 31 18:56:38 2011
@@ -127,7 +127,6 @@
theme& theme = gui().get_theme();
const theme::menu* default_tool_menu = NULL;
foreach (const theme::menu& m, theme.menus()) {
- std::string s = m.get_id();
if (m.get_id() == "draw_button_editor") {
default_tool_menu = &m;
break;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits