1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 11:29:10 +00:00

(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

View File

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