(svn r6627) -Fix r6624: fixed some warnings

Now it happened again. Somebody got warnings, that I didn't get... I will look into this issue
This commit is contained in:
bjarni
2006-10-03 16:05:11 +00:00
parent 0ec5ade0cb
commit 3f8082b4b7
3 changed files with 9 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ static inline Order UnpackOrder(uint32 packed)
order.dest = GB(packed, 16, 16);
order.next = NULL;
order.index = 0; // avoid compiler warning
order.refit_cargo = CT_INVALID;
order.refit_subtype = 0;
return order;
}