diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-03-25 22:45:32 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-26 20:54:40 +0000 |
commit | e453572b6ab9feeacd4fcbd660d954aec44c4777 (patch) | |
tree | 16a6f46f81608733f50b29cf07b53b808fcf599d /src/order_base.h | |
parent | 03ca3190c9b73de3e43fe1e7e2293b8c1e3aa3d5 (diff) | |
download | openttd-e453572b6ab9feeacd4fcbd660d954aec44c4777.tar.xz |
Codechange: Initialise a few variables that -flto seems to think could possibly be uninitialised
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h index 0def7b0bc..b11c20d8e 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -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); |