mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 14:58:22 +00:00
(svn r13091) -Fix: certain compilers give false warning about uninitialized variable
This commit is contained in:
parent
ec627dedf8
commit
7890344bbd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user