]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
headers are for declarations only
[apt.git] / apt-pkg / pkgcache.cc
index dc7698edd5c5bbce2ffd295a6f02a98a4fa82334..ae04bc699351ec1d2cdc96aee5c45cec88b82bea 100644 (file)
@@ -122,7 +122,7 @@ bool pkgCache::Header::CheckSizes(Header &Against) const
 // ---------------------------------------------------------------------
 /* */
 APT_IGNORE_DEPRECATED_PUSH
-pkgCache::pkgCache(MMap *Map, bool DoMap) : Map(*Map)
+pkgCache::pkgCache(MMap *Map, bool DoMap) : Map(*Map), d(NULL)
 {
    // call getArchitectures() with cached=false to ensure that the 
    // architectures cache is re-evaulated. this is needed in cases