From 1c19e7be00b8547df8694fa118f294492c7ef640 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 31 Mar 2006 09:08:02 +0000 Subject: [PATCH] (svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same) --- order_gui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/order_gui.c b/order_gui.c index a414bba8cb..399cf0fe02 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) {