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

pull/155/head
smatz 17 years ago
parent 7fbfe54c74
commit 7672a059c9

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

Loading…
Cancel
Save