summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.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/tagfile.h
parentc029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff)
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r--apt-pkg/tagfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index 3e84d8fd4..39ec94d86 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -43,7 +43,7 @@ class pkgTagSection
unsigned int StartValue;
unsigned int NextInBucket;
- TagData(unsigned int const StartTag) : StartTag(StartTag), NextInBucket(0) {}
+ TagData(unsigned int const StartTag) : StartTag(StartTag), EndTag(0), StartValue(0), NextInBucket(0) {}
};
std::vector<TagData> Tags;
unsigned int LookupTable[0x100];