summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-04-17 09:18:34 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-04-17 09:18:34 +0200
commit0325d83c4da93649763bbda3648b064b2cbe245c (patch)
tree148ce23b8b10a8f914f0516edfc13befde369818 /apt-pkg
parent443f5e8a3205162ec6933529c5ca0c95ad3f6941 (diff)
parent5ab7b53b09c508eb551eaf698bd2035cd3bc8777 (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/packagemanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index c62c4d187..093999bc2 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -602,7 +602,7 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
or by the ConfigureAll call at the end of the for loop in OrderInstall. */
bool Changed = false;
const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 500);
- unsigned int i;
+ unsigned int i = 0;
do
{
Changed = false;