mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
This commit is contained in:
parent
cf91f6bf3e
commit
a152d420a5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue