diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-12 23:34:56 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-12 23:34:56 +0100 |
commit | e3d26885659348e897774ea6f08f296f4b900781 (patch) | |
tree | 6acd91d6c30a767a11d6875a2cd0ec40a780206a /apt-inst/extract.cc | |
parent | ed0fe654305469c1f9869f308e2f595ac8bc4c13 (diff) |
FristOwner is never used in the blamed history and gcc-4.6 complains now
Diffstat (limited to 'apt-inst/extract.cc')
-rw-r--r-- | apt-inst/extract.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apt-inst/extract.cc b/apt-inst/extract.cc index 85363b9a1..cd8edb27a 100644 --- a/apt-inst/extract.cc +++ b/apt-inst/extract.cc @@ -372,7 +372,6 @@ bool pkgExtract::HandleOverwrites(pkgFLCache::NodeIterator Nde, pkgFLCache::NodeIterator TmpNde = Nde; unsigned long DiverOwner = 0; unsigned long FileGroup = Nde->File; - const char *FirstOwner = 0; for (; Nde.end() == false && FileGroup == Nde->File; Nde++) { if ((Nde->Flags & pkgFLCache::Node::Diversion) != 0) @@ -392,8 +391,7 @@ bool pkgExtract::HandleOverwrites(pkgFLCache::NodeIterator Nde, if something has already been diverted by this diversion */ if (FPkg.Offset() == DiverOwner) continue; - FirstOwner = FPkg.Name(); - + // Now see if this package matches one in a replace depends pkgCache::DepIterator Dep = Ver.DependsList(); bool Ok = false; |