(svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same)

This commit is contained in:
2006-03-31 09:08:02 +00:00
parent 3f7eb666ba
commit 1c19e7be00

View File

@@ -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) {