diff options
author | glx <glx@openttd.org> | 2007-06-04 20:06:54 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-06-04 20:06:54 +0000 |
commit | 32a04368b3df96642420815acef9a9d752fe0d79 (patch) | |
tree | 029f1e0d63c46cbf652c5b1884ad426af0b7d6d6 /src/network | |
parent | 62524492d50239f8b976dad85079f17d0c07991a (diff) | |
download | openttd-32a04368b3df96642420815acef9a9d752fe0d79.tar.xz |
(svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 241796852..30bb22c55 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -685,7 +685,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e) ShowDropDownMenu(w, _players_dropdown, _network_game_info.spectators_max, 14, 0, 0); break; case 15: case 16: { /* Language */ - int sel; + uint sel = 0; for (uint i = 0; i < lengthof(_language_dropdown) - 1; i++) { if (_language_dropdown[i] == STR_NETWORK_LANG_ANY + _network_game_info.server_lang) { sel = i; |