mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 20:10:33 +00:00
Fix some compiler warnings.
This commit is contained in:
parent
d2d4b8e2ca
commit
f7b910b6ec
@ -37,7 +37,7 @@ void tpassword_box::delete_char(const bool before_cursor) {
|
||||
post_function();
|
||||
}
|
||||
|
||||
void tpassword_box::handle_key_backspace(SDLMod modifier, bool& handled) {
|
||||
void tpassword_box::handle_key_backspace(SDLMod /*modifier*/, bool& handled) {
|
||||
pre_function();
|
||||
|
||||
// Copy & paste from ttext_::handle_key_backspace()
|
||||
@ -53,7 +53,7 @@ void tpassword_box::handle_key_backspace(SDLMod modifier, bool& handled) {
|
||||
post_function();
|
||||
}
|
||||
|
||||
void tpassword_box::handle_key_delete(SDLMod modifier, bool& handled) {
|
||||
void tpassword_box::handle_key_delete(SDLMod /*modifier*/, bool& handled) {
|
||||
pre_function();
|
||||
|
||||
// Copy & paste from ttext_::handle_key_delete()
|
||||
|
Loading…
x
Reference in New Issue
Block a user