diff options
author | smatz <smatz@openttd.org> | 2008-05-14 18:35:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-14 18:35:15 +0000 |
commit | f0e2d800ee59011ff6a27c27a1c84b0135ae8857 (patch) | |
tree | 223a665cb90af1dbda6d798b4d4f9291a36accad /src | |
parent | 2be223fc03a8f4812d9ae38b1084572b903710a3 (diff) | |
download | openttd-f0e2d800ee59011ff6a27c27a1c84b0135ae8857.tar.xz |
(svn r13091) -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 5653c8b7a..4a55985ab 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -889,7 +889,7 @@ struct DepotWindow : Window { this->SetDirty(); if (this->type == VEH_TRAIN) { - GetDepotVehiclePtData gdvp; + GetDepotVehiclePtData gdvp = { NULL, NULL }; if (this->GetVehicleFromDepotWndPt(pt.x, pt.y, &v, &gdvp) == MODE_DRAG_VEHICLE && sel != INVALID_VEHICLE) { |