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 | bea03ab5e72e83aa851f30e22c5c53f4a5c0d85d (patch) | |
tree | f078c7f80286ebaf914f384d331b885d7a283d00 /src | |
parent | 0d2e74fb71f7d5bfd827557402b649b0f2db71f1 (diff) | |
download | openttd-bea03ab5e72e83aa851f30e22c5c53f4a5c0d85d.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); |