Comment out unused variables.

This commit is contained in:
Mark de Wever 2008-07-07 20:03:14 +00:00
parent a470463dcc
commit 400e0f54c6
2 changed files with 17 additions and 17 deletions

View file

@ -50,74 +50,74 @@ void editor_action_chain::perform_without_undo(editor_map& m) const
}
}
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();
}

View file

@ -27,7 +27,7 @@ editor_mouse_handler::editor_mouse_handler(editor_display* disp, editor_map& map
{
}
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);