mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-16 17:15:05 +01:00
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
This commit is contained in:
parent
ca30288c9d
commit
60ae799321
@ -879,7 +879,7 @@ struct DepotWindow : Window {
|
|||||||
{
|
{
|
||||||
switch (widget) {
|
switch (widget) {
|
||||||
case DEPOT_WIDGET_MATRIX: {
|
case DEPOT_WIDGET_MATRIX: {
|
||||||
Vehicle *v;
|
Vehicle *v = NULL;
|
||||||
VehicleID sel = this->sel;
|
VehicleID sel = this->sel;
|
||||||
|
|
||||||
this->sel = INVALID_VEHICLE;
|
this->sel = INVALID_VEHICLE;
|
||||||
|
Loading…
Reference in New Issue
Block a user