branch | cpp_gui |
changeset 6252 | ca57ad0b45ea |
parent 6251 | cd413fa2e252 |
child 6258 | a2f86b8fd99b |
--- a/src/station_gui.cpp Tue Feb 13 23:49:01 2007 +0000 +++ b/src/station_gui.cpp Wed Feb 14 00:57:15 2007 +0000 @@ -171,7 +171,7 @@ void RebuildStationLists(void) { - Window *w; + Window *w = NULL; FOR_ALL_WINDOWS(w) { if (w->window_class == WC_STATION_LIST) { @@ -183,7 +183,7 @@ void ResortStationLists(void) { - Window *w; + Window *w = NULL; FOR_ALL_WINDOWS(w) { if (w->window_class == WC_STATION_LIST) {