diff options
author | rubidium <rubidium@openttd.org> | 2009-10-07 17:46:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-07 17:46:58 +0000 |
commit | 1017f4f6a1635c1089527eaa72713cd8117f119a (patch) | |
tree | 736babf3f4b50f4bafa0825f85e08d31488b16ae | |
parent | c132018db5d222a27188481b70f856eea9de1267 (diff) | |
download | openttd-1017f4f6a1635c1089527eaa72713cd8117f119a.tar.xz |
(svn r17739) -Cleanup: compiler didn't warn about an unused variable, fonsinchen did
-rw-r--r-- | src/cargopacket.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp index c22959ccb..5f964c5e3 100644 --- a/src/cargopacket.cpp +++ b/src/cargopacket.cpp @@ -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) { |