diff options
author | peter1138 <peter1138@openttd.org> | 2006-03-31 09:08:02 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-03-31 09:08:02 +0000 |
commit | 1c19e7be00b8547df8694fa118f294492c7ef640 (patch) | |
tree | a8a23b7497fc38aa28aa6f12a98d583f04d742c4 /order_gui.c | |
parent | 3f7eb666ba71af02cd94e862e1182f445e9025de (diff) | |
download | openttd-1c19e7be00b8547df8694fa118f294492c7ef640.tar.xz |
(svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same)
Diffstat (limited to 'order_gui.c')
-rw-r--r-- | order_gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/order_gui.c b/order_gui.c index a414bba8c..399cf0fe0 100644 --- a/order_gui.c +++ b/order_gui.c @@ -191,6 +191,8 @@ static void DrawOrdersWindow(Window *w) static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) { Order order; + order.next = NULL; + order.index = 0; // check depot first if (_patches.gotodepot) { |