mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 23:33:17 +00:00
Fix using an uninitialised value.
While using valgrind to investigate bug #20876 it warned about this issue. Ported from a6eeac04e5dc863013fa3e5e0b723825ddc4fc08
This commit is contained in:
parent
778955501a
commit
690fb03aac
@ -165,7 +165,7 @@ namespace { // Types
|
||||
input_max_size = 256;
|
||||
}
|
||||
|
||||
int option_chosen;
|
||||
int option_chosen = -1;
|
||||
int dlg_result = gui2::show_wml_message(left_side,
|
||||
resources::screen->video(), caption, cfg["message"],
|
||||
image, false, has_text_input, text_input_label,
|
||||
|
Loading…
x
Reference in New Issue
Block a user