Skip to content

Commit

Permalink
Fixed some unused parameter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jun 19, 2017
1 parent 62f2b4e commit f9a53c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/gui/core/event/handler.cpp
Expand Up @@ -522,7 +522,7 @@ void sdl_event_handler::activate()
}
}

void sdl_event_handler::draw(const bool force)
void sdl_event_handler::draw(const bool /*force*/)
{
// Don't display this event since it floods the screen
// DBG_GUI_E << "Firing " << DRAW << ".\n";
Expand Down
9 changes: 3 additions & 6 deletions src/gui/dialogs/lua_interpreter.cpp
Expand Up @@ -396,8 +396,7 @@ class lua_interpreter::controller {

void input_keypress_callback(bool& handled,
bool& halt,
const SDL_Keycode key,
window& window);
const SDL_Keycode key);

void update_view(); ///< Update the view based on the model

Expand Down Expand Up @@ -461,8 +460,7 @@ void lua_interpreter::controller::bind(window& window)
this,
_3,
_4,
_5,
std::ref(window)));
_5));

copy_button = &find_widget<button>(&window, "copy", false);
connect_signal_mouse_left_click(
Expand Down Expand Up @@ -505,8 +503,7 @@ void lua_interpreter::controller::handle_clear_button_clicked(window & /*window*
/** Handle return key (execute) or tab key (tab completion) */
void lua_interpreter::controller::input_keypress_callback(bool& handled,
bool& halt,
const SDL_Keycode key,
window& window)
const SDL_Keycode key)
{
assert(lua_model_);
assert(text_entry);
Expand Down

0 comments on commit f9a53c9

Please sign in to comment.