]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgsystem.cc
cachefile.cc: Do not ignore return value of pkgDepCache::Init()
[apt.git] / apt-pkg / pkgsystem.cc
index 14d090c7a64f680ef8b2d98e15c2b263e4e3fd82..a6b61e65563fabf174f4316fe902c94814f28e1b 100644 (file)
@@ -27,7 +27,8 @@ unsigned long pkgSystem::GlobalListLen = 0;
 // System::pkgSystem - Constructor                                     /*{{{*/
 // ---------------------------------------------------------------------
 /* Add it to the global list.. */
-pkgSystem::pkgSystem() : Label(NULL), VS(NULL)
+pkgSystem::pkgSystem(char const * const label, pkgVersioningSystem * const vs) :
+   Label(label), VS(vs), d(NULL)
 {
    assert(GlobalListLen < sizeof(SysList)/sizeof(*SysList));
    SysList[GlobalListLen] = this;
@@ -45,3 +46,5 @@ APT_PURE pkgSystem *pkgSystem::GetSystem(const char *Label)
    return 0;   
 }
                                                                        /*}}}*/
+
+pkgSystem::~pkgSystem() {}