(svn r13091) -Fix: certain compilers give false warning about uninitialized variable

This commit is contained in:
smatz 2008-05-14 18:35:15 +00:00
parent ec627dedf8
commit 7890344bbd
1 changed files with 1 additions and 1 deletions

View File

@ -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) {