1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 17:39:09 +00:00

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

This commit is contained in:
smatz
2008-05-24 23:18:21 +00:00
parent ca30288c9d
commit 60ae799321

View File

@@ -879,7 +879,7 @@ struct DepotWindow : Window {
{
switch (widget) {
case DEPOT_WIDGET_MATRIX: {
Vehicle *v;
Vehicle *v = NULL;
VehicleID sel = this->sel;
this->sel = INVALID_VEHICLE;