summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-01-20 01:02:36 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-01-20 01:02:36 +0100
commitaaab10075397cb4f2ec262c5d478f7ea8acd2d23 (patch)
treec02f41b1102b79d43e7d93a4ebf83f14d86bf8b1 /cmdline/apt-get.cc
parent38ff3de6a82c4dc03adcef98919ff6bd6dc1603a (diff)
fix a few esoteric cppcheck errors/warnings/infos
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 85ae1cd7e..2d0554e21 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1730,7 +1730,7 @@ bool DoAutomaticRemove(CacheFile &Cache)
Pkg != tooMuch.end() && Changed == false; ++Pkg)
{
APT::PackageSet too;
- too.insert(Pkg);
+ too.insert(*Pkg);
for (pkgCache::PrvIterator Prv = Cache[Pkg].CandidateVerIter(Cache).ProvidesList();
Prv.end() == false; ++Prv)
too.insert(Prv.ParentPkg());