]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
act on various suggestions from cppcheck
[apt.git] / apt-pkg / acquire-method.cc
index 991e6780a6e71bf375e82430d51f8b73de812157..d0eb01bbc31ff74e338357028df49267dfb1d2bf 100644 (file)
@@ -480,7 +480,10 @@ void pkgAcqMethod::Dequeue() {                                             /*{{{*/
                                                                        /*}}}*/
 pkgAcqMethod::~pkgAcqMethod() {}
 
-pkgAcqMethod::FetchItem::FetchItem() : d(NULL) {}
+pkgAcqMethod::FetchItem::FetchItem() :
+   Next(nullptr), DestFileFd(-1), LastModified(0), IndexFile(false),
+   FailIgnore(false), MaximumSize(0), d(nullptr)
+{}
 pkgAcqMethod::FetchItem::~FetchItem() {}
 
 pkgAcqMethod::FetchResult::~FetchResult() {}