summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-09-26 22:16:26 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-09-27 00:11:11 +0200
commit25613a61f6f3b9e54d5229af7e2278d0fa54bdd9 (patch)
tree3da25906f95db69e30408548a7e6f3ad12ce6bdc /apt-pkg/acquire.h
parentc029a8368d0f90d749ccba73fc9afe46e77d8b2f (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.h2
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)
{