1
0
Fork 0

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

release/0.7
smatz 2008-05-24 23:18:21 +00:00
parent ca30288c9d
commit 60ae799321
1 changed files with 1 additions and 1 deletions

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;