diff options
author | hackykid <hackykid@openttd.org> | 2005-06-01 11:52:44 +0000 |
---|---|---|
committer | hackykid <hackykid@openttd.org> | 2005-06-01 11:52:44 +0000 |
commit | f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335 (patch) | |
tree | 85ffc0991699f19e38f7e937f8b493274594c341 /order.h | |
parent | 351d7aaa9fd2fe1e5cd464130186727df38e646f (diff) | |
download | openttd-f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335.tar.xz |
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -137,6 +137,7 @@ static inline Order UnpackOrder(uint32 packed) order.flags = (packed & 0x0000FF00) >> 8; order.station = (packed & 0xFFFF0000) >> 16; order.next = NULL; + order.index = 0; // avoid compiler warning return order; } |