diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-25 22:13:52 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-26 15:32:15 +0100 |
commit | 2651f1c071927b7fc440ec7a638ecad7ccf04a2e (patch) | |
tree | c2b4f94c949590c4689c1509b490b4c9d4cc9bc7 /apt-pkg/acquire-method.cc | |
parent | 3b0e76ec9c9386e428944f621b970d691884b84a (diff) |
act on various suggestions from cppcheck
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/acquire-method.cc')
-rw-r--r-- | apt-pkg/acquire-method.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc index 991e6780a..d0eb01bbc 100644 --- a/apt-pkg/acquire-method.cc +++ b/apt-pkg/acquire-method.cc @@ -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() {} |