# HG changeset patch # User smatz # Date 1210716134 0 # Node ID 67e8293d4f9acd169819a33542eec4c1f2281258 # Parent 5f56a631a66863194e4f80b46ed374fa500fe362 (svn r13079) -Fix: certain compilers give false warning about uninitialized variable diff -r 5f56a631a668 -r 67e8293d4f9a src/depot_gui.cpp --- a/src/depot_gui.cpp Tue May 13 21:50:31 2008 +0000 +++ b/src/depot_gui.cpp Tue May 13 22:02:14 2008 +0000 @@ -503,7 +503,7 @@ void DepotClick(int x, int y) { - GetDepotVehiclePtData gdvp; + GetDepotVehiclePtData gdvp = { NULL, NULL }; Vehicle *v = NULL; DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp);