mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 09:50:09 +00:00
restore a MSVC warning suppression
This commit is contained in:
parent
dd8f12c870
commit
72e5753e0d
@ -463,6 +463,10 @@ void hotkey_preferences_dialog::update_location(SDL_Rect const &rect) {
|
||||
clear_button_.set_location(xpos, ypos);
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable:4701)
|
||||
#endif
|
||||
void hotkey_preferences_dialog::show_binding_dialog(const std::string& id) {
|
||||
|
||||
// Lets change this hotkey......
|
||||
@ -607,7 +611,9 @@ void hotkey_preferences_dialog::show_binding_dialog(const std::string& id) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
} // end namespace preferences
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user