mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user