diff -r 6daf441eee26 -r 3875a510b0ba src/depot_gui.cpp --- a/src/depot_gui.cpp Sat May 24 22:15:10 2008 +0000 +++ b/src/depot_gui.cpp Sat May 24 23:18:21 2008 +0000 @@ -879,7 +879,7 @@ { switch (widget) { case DEPOT_WIDGET_MATRIX: { - Vehicle *v; + Vehicle *v = NULL; VehicleID sel = this->sel; this->sel = INVALID_VEHICLE;