forked from mirror/OpenTTD
(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)
|
void DepotClick(int x, int y)
|
||||||
{
|
{
|
||||||
GetDepotVehiclePtData gdvp;
|
GetDepotVehiclePtData gdvp = { NULL, NULL };
|
||||||
Vehicle *v = NULL;
|
Vehicle *v = NULL;
|
||||||
DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp);
|
DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user