diff options
author | smatz <smatz@openttd.org> | 2008-05-13 22:02:14 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-13 22:02:14 +0000 |
commit | a152d420a53995f97eb98724ee1a58f63ab0d7ff (patch) | |
tree | f078c7f80286ebaf914f384d331b885d7a283d00 /src | |
parent | cf91f6bf3e6db20eda745703a0b10e37012366ad (diff) | |
download | openttd-a152d420a53995f97eb98724ee1a58f63ab0d7ff.tar.xz |
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
Diffstat (limited to 'src')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index f490e58de..5653c8b7a 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -503,7 +503,7 @@ struct DepotWindow : Window { void DepotClick(int x, int y) { - GetDepotVehiclePtData gdvp; + GetDepotVehiclePtData gdvp = { NULL, NULL }; Vehicle *v = NULL; DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp); |