diff options
author | smatz <smatz@openttd.org> | 2008-05-24 23:18:21 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-24 23:18:21 +0000 |
commit | 7672a059c96ca304b7244cd7fbfe1a05eb03a7c9 (patch) | |
tree | 63d41f719f035ece1970afb6f41cb6d8844074d6 /src | |
parent | 7fbfe54c7409e2b3076339caf74b236d852abe65 (diff) | |
download | openttd-7672a059c96ca304b7244cd7fbfe1a05eb03a7c9.tar.xz |
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
Diffstat (limited to 'src')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index b755bbfb8..007c192ca 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -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; |