diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-04-16 23:55:39 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-04-16 23:55:39 +0200 |
commit | 5ab7b53b09c508eb551eaf698bd2035cd3bc8777 (patch) | |
tree | 148ce23b8b10a8f914f0516edfc13befde369818 /apt-pkg/packagemanager.cc | |
parent | 872ed75fec87d7593997467809fcd17dcb88af0c (diff) | |
download | apt-5ab7b53b09c508eb551eaf698bd2035cd3bc8777.tar.gz |
* apt-pkg/packagemanager.cc:
- init counter in SmartConfigure so that the loop-breaker isn't
triggered at random… (Closes: #669060)
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 2 |
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; |