Comment out an unused parameter and remove an unused one.

This commit is contained in:
Mark de Wever 2008-08-21 10:50:10 +00:00
parent d5303889e9
commit 8ea8ffe396
2 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,7 @@ void editor_action_area::add_locations(const std::set<gamemap::location>& locs)
{
area_.insert(locs.begin(), locs.end());
}
void editor_action_area::extend(const editor_map& map, const std::set<gamemap::location>& locs)
void editor_action_area::extend(const editor_map& /*map*/, const std::set<gamemap::location>& locs)
{
area_.insert(locs.begin(), locs.end());
}

View File

@ -78,7 +78,6 @@ image::TYPE editor_display::get_image_type(const gamemap::location& loc)
void editor_display::draw_hex(const gamemap::location& loc)
{
const bool on_map = map_.on_board(loc);
const bool is_shrouded = shrouded(loc);
int xpos = get_location_x(loc);
int ypos = get_location_y(loc);
int drawing_order = gamemap::get_drawing_order(loc);