From 2651f1c071927b7fc440ec7a638ecad7ccf04a2e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 25 Jan 2016 22:13:52 +0100 Subject: act on various suggestions from cppcheck Reported-By: cppcheck Git-Dch: Ignore --- apt-pkg/indexcopy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/indexcopy.cc') diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index c54b365dc..4aade6e8a 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -771,14 +771,14 @@ bool TranslationsCopy::CopyTranslations(string CDROM,string Name, /*{{{*/ } /*}}}*/ -IndexCopy::IndexCopy() : d(NULL) {} +IndexCopy::IndexCopy() : d(nullptr), Section(nullptr) {} APT_CONST IndexCopy::~IndexCopy() {} PackageCopy::PackageCopy() : IndexCopy(), d(NULL) {} APT_CONST PackageCopy::~PackageCopy() {} SourceCopy::SourceCopy() : IndexCopy(), d(NULL) {} APT_CONST SourceCopy::~SourceCopy() {} -TranslationsCopy::TranslationsCopy() : d(NULL) {} +TranslationsCopy::TranslationsCopy() : d(nullptr), Section(nullptr) {} APT_CONST TranslationsCopy::~TranslationsCopy() {} SigVerify::SigVerify() : d(NULL) {} APT_CONST SigVerify::~SigVerify() {} -- cgit v1.2.3