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/acquire.h | |
parent | c029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff) |
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/acquire.h')
-rw-r--r-- | apt-pkg/acquire.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index 0113021b2..a92ecc24c 100644 --- a/apt-pkg/acquire.h +++ b/apt-pkg/acquire.h @@ -585,7 +585,7 @@ class pkgAcquire::UriIterator * * \param Q The queue over which this UriIterator should iterate. */ - UriIterator(pkgAcquire::Queue *Q) : CurQ(Q), CurItem(0) + UriIterator(pkgAcquire::Queue *Q) : d(NULL), CurQ(Q), CurItem(0) { while (CurItem == 0 && CurQ != 0) { |