]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
Add support for calculating hashes over the entire cache
[apt.git] / apt-pkg / acquire-method.cc
index d3aff4d5e335718c7a25924760f426904d950d58..991e6780a6e71bf375e82430d51f8b73de812157 100644 (file)
@@ -457,7 +457,7 @@ void pkgAcqMethod::Redirect(const string &NewURI)
 // ---------------------------------------------------------------------
 /* */
 pkgAcqMethod::FetchResult::FetchResult() : LastModified(0),
-                                   IMSHit(false), Size(0), ResumePoint(0)
+                                   IMSHit(false), Size(0), ResumePoint(0), d(NULL)
 {
 }
                                                                        /*}}}*/
@@ -480,7 +480,7 @@ void pkgAcqMethod::Dequeue() {                                              /*{{{*/
                                                                        /*}}}*/
 pkgAcqMethod::~pkgAcqMethod() {}
 
-pkgAcqMethod::FetchItem::FetchItem() {}
+pkgAcqMethod::FetchItem::FetchItem() : d(NULL) {}
 pkgAcqMethod::FetchItem::~FetchItem() {}
 
 pkgAcqMethod::FetchResult::~FetchResult() {}