Codechange: Initialise a few variables that -flto seems to think could possibly be uninitialised

This commit is contained in:
Charles Pigott
2019-03-25 22:45:32 +00:00
committed by PeterN
parent 03ca3190c9
commit e453572b6a
3 changed files with 4 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ private:
public:
Order *next; ///< Pointer to next order. If NULL, end of list
Order() : refit_cargo(CT_NO_REFIT), max_speed(UINT16_MAX) {}
Order() : flags(0), refit_cargo(CT_NO_REFIT), max_speed(UINT16_MAX) {}
~Order();
Order(uint32 packed);