(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 cf91f6bf3e
commit a152d420a5
1 changed files with 1 additions and 1 deletions

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