summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
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/pkgcache.cc
parentc029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff)
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 4ab9e2a4b..572685ba5 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -84,6 +84,7 @@ pkgCache::Header::Header()
FileList = 0;
VerSysName = 0;
Architecture = 0;
+ Architectures = 0;
HashTableSize = _config->FindI("APT::Cache-HashTableSize", 10 * 1048);
memset(Pools,0,sizeof(Pools));