Fix some unused parameter warnings caused by recent commits

This commit is contained in:
Charles Dang 2018-03-26 14:36:15 +11:00
parent b08fa98260
commit 8b6270f92f
2 changed files with 4 additions and 4 deletions

View file

@ -222,8 +222,8 @@ void location_palette::adjust_size(const SDL_Rect& target)
{
palette_x_ = target.x;
palette_y_ = target.y;
const int button_height = 22;
const int button_y = 30;
//const int button_height = 22;
//const int button_y = 30;
int bottom = target.y + target.h;
#if 0
if (!button_goto_) {

View file

@ -1324,8 +1324,8 @@ color_t string_to_color(const std::string &cmp_str)
return font::NORMAL_COLOR;
}
std::vector<std::string> split_in_width(const std::string &s, const int font_size,
const unsigned width)
std::vector<std::string> split_in_width(const std::string &/*s*/, const int /*font_size*/,
const unsigned /*width*/)
{
std::vector<std::string> res;
try {