diff options
author | Michael Vogt <egon@debian-devbox> | 2012-03-06 18:10:02 +0100 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2012-03-06 18:10:02 +0100 |
commit | 7296e47e10687e554a4756f65e9c842f88e696e3 (patch) | |
tree | ce9c6f63729900dcf0d221c2aaafbfef91f34ed4 /apt-pkg/orderlist.cc | |
parent | e2625f67efae93c2c8affff41ce3e5fb9a507f30 (diff) | |
parent | de31189fca11b7de937a64de90bcc050b76f9181 (diff) |
merged from lp:~donkult/apt/experimental
Diffstat (limited to 'apt-pkg/orderlist.cc')
-rw-r--r-- | apt-pkg/orderlist.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc index 0ac9a83e3..3a179b2a2 100644 --- a/apt-pkg/orderlist.cc +++ b/apt-pkg/orderlist.cc @@ -82,16 +82,14 @@ pkgOrderList *pkgOrderList::Me = 0; // OrderList::pkgOrderList - Constructor /*{{{*/ // --------------------------------------------------------------------- /* */ -pkgOrderList::pkgOrderList(pkgDepCache *pCache) : Cache(*pCache) +pkgOrderList::pkgOrderList(pkgDepCache *pCache) : Cache(*pCache), + Primary(NULL), Secondary(NULL), + RevDepends(NULL), Remove(NULL), + AfterEnd(NULL), FileList(NULL), + LoopCount(-1), Depth(0) { - FileList = 0; - Primary = 0; - Secondary = 0; - RevDepends = 0; - Remove = 0; - LoopCount = -1; Debug = _config->FindB("Debug::pkgOrderList",false); - + /* Construct the arrays, egcs 1.0.1 bug requires the package count hack */ unsigned long Size = Cache.Head().PackageCount; |