mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r17739) -Cleanup: compiler didn't warn about an unused variable, fonsinchen did
This commit is contained in:
parent
c132018db5
commit
1017f4f6a1
|
@ -153,7 +153,6 @@ bool CargoList::MoveTo(CargoList *dest, uint max_move, CargoList::MoveToAction m
|
|||
{
|
||||
assert(mta == MTA_FINAL_DELIVERY || dest != NULL);
|
||||
assert(mta == MTA_UNLOAD || mta == MTA_CARGO_LOAD || payment != NULL);
|
||||
CargoList tmp;
|
||||
|
||||
List::iterator it = packets.begin();
|
||||
while (it != packets.end() && max_move > 0) {
|
||||
|
|
Loading…
Reference in New Issue