diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-09-26 22:16:26 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-27 00:11:11 +0200 |
commit | 25613a61f6f3b9e54d5229af7e2278d0fa54bdd9 (patch) | |
tree | 3da25906f95db69e30408548a7e6f3ad12ce6bdc /apt-pkg/install-progress.cc | |
parent | c029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff) |
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/install-progress.cc')
-rw-r--r-- | apt-pkg/install-progress.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/install-progress.cc b/apt-pkg/install-progress.cc index cf6c85912..0d180d59b 100644 --- a/apt-pkg/install-progress.cc +++ b/apt-pkg/install-progress.cc @@ -21,6 +21,8 @@ namespace APT { namespace Progress { +PackageManager::PackageManager() : d(NULL), percentage(0.0), last_reported_progress(-1) {}; +PackageManager::~PackageManager() {}; /* Return a APT::Progress::PackageManager based on the global * apt configuration (i.e. APT::Status-Fd and APT::Status-deb822-Fd) |