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

This commit is contained in:
smatz
2008-05-13 22:02:14 +00:00
parent 0d2e74fb71
commit bea03ab5e7

View File

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