summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/upgrade.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-pkg/upgrade.cc b/apt-pkg/upgrade.cc
index 994a05859..c7e566a55 100644
--- a/apt-pkg/upgrade.cc
+++ b/apt-pkg/upgrade.cc
@@ -40,7 +40,6 @@ struct PhasedUpgrader
// Advance to first version < our version
while (OtherVer->ID != Ver->ID)
++OtherVer;
- ++OtherVer;
// Iterate over all versions < our version
for (; !OtherVer.end() && (Installed.end() || OtherVer->ID != Installed->ID); OtherVer++)