summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-07 17:46:58 +0000
committerrubidium <rubidium@openttd.org>2009-10-07 17:46:58 +0000
commit1017f4f6a1635c1089527eaa72713cd8117f119a (patch)
tree736babf3f4b50f4bafa0825f85e08d31488b16ae /src
parentc132018db5d222a27188481b70f856eea9de1267 (diff)
downloadopenttd-1017f4f6a1635c1089527eaa72713cd8117f119a.tar.xz
(svn r17739) -Cleanup: compiler didn't warn about an unused variable, fonsinchen did
Diffstat (limited to 'src')
-rw-r--r--src/cargopacket.cpp1
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) {