Author: mordante
Date: Mon Jul 7 22:03:14 2008
New Revision: 27828
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27828&view=rev
Log:
Comment out unused variables.
Modified:
trunk/src/editor2/action.cpp
trunk/src/editor2/editor_mouse_handler.cpp
Modified: trunk/src/editor2/action.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.cpp?rev=27828&r1=27827&r2=27828&view=diff
==============================================================================
--- trunk/src/editor2/action.cpp (original)
+++ trunk/src/editor2/action.cpp Mon Jul 7 22:03:14 2008
@@ -50,74 +50,74 @@
}
}
-editor_action_paste* editor_action_paste::perform(editor_map& map) const
+editor_action_paste* editor_action_paste::perform(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-void editor_action_paste::perform_without_undo(editor_map& map) const
+void editor_action_paste::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_paint_hex* editor_action_paint_hex::perform(editor_map& m) const
+editor_action_paint_hex* editor_action_paint_hex::perform(editor_map& /*map*/)
const
{
throw editor_action_not_implemented();
}
-void editor_action_paint_hex::perform_without_undo(editor_map& map) const
+void editor_action_paint_hex::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_paste* editor_action_paint_brush::perform(editor_map& m) const
+editor_action_paste* editor_action_paint_brush::perform(editor_map& /*map*/)
const
{
throw editor_action_not_implemented();
}
-void editor_action_paint_brush::perform_without_undo(editor_map& map) const
+void editor_action_paint_brush::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_fill* editor_action_fill::perform(editor_map& map) const
+editor_action_fill* editor_action_fill::perform(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-void editor_action_fill::perform_without_undo(editor_map& map) const
+void editor_action_fill::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_whole_map* editor_action_resize_map::perform(editor_map& map)
const
+editor_action_whole_map* editor_action_resize_map::perform(editor_map&
/*map*/) const
{
throw editor_action_not_implemented();
}
-void editor_action_resize_map::perform_without_undo(editor_map& map) const
+void editor_action_resize_map::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_rotate_map* editor_action_rotate_map::perform(editor_map& map)
const
+editor_action_rotate_map* editor_action_rotate_map::perform(editor_map&
/*map*/) const
{
throw editor_action_not_implemented();
}
-void editor_action_rotate_map::perform_without_undo(editor_map& map) const
+void editor_action_rotate_map::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_mirror_map* editor_action_mirror_map::perform(editor_map& map)
const
+editor_action_mirror_map* editor_action_mirror_map::perform(editor_map&
/*map*/) const
{
throw editor_action_not_implemented();
}
-void editor_action_mirror_map::perform_without_undo(editor_map& map) const
+void editor_action_mirror_map::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
-editor_action_paste* editor_action_plot_route::perform(editor_map& map) const
+editor_action_paste* editor_action_plot_route::perform(editor_map& /*map*/)
const
{
throw editor_action_not_implemented();
}
-void editor_action_plot_route::perform_without_undo(editor_map& map) const
+void editor_action_plot_route::perform_without_undo(editor_map& /*map*/) const
{
throw editor_action_not_implemented();
}
Modified: trunk/src/editor2/editor_mouse_handler.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_mouse_handler.cpp?rev=27828&r1=27827&r2=27828&view=diff
==============================================================================
--- trunk/src/editor2/editor_mouse_handler.cpp (original)
+++ trunk/src/editor2/editor_mouse_handler.cpp Mon Jul 7 22:03:14 2008
@@ -27,7 +27,7 @@
{
}
-void editor_mouse_handler::mouse_motion(int x, int y, const bool browse, bool
update)
+void editor_mouse_handler::mouse_motion(int x, int y, const bool /*browse*/,
bool update)
{
if (mouse_handler_base::mouse_motion_default(x, y, update)) return;
const gamemap::location new_hex = gui().hex_clicked_on(x,y);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits