summaryrefslogtreecommitdiff
path: root/apt-pkg/metaindex.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/metaindex.h
parentc029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff)
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r--apt-pkg/metaindex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h
index ffabaadbf..7c4d0c1aa 100644
--- a/apt-pkg/metaindex.h
+++ b/apt-pkg/metaindex.h
@@ -53,7 +53,7 @@ class metaIndex
metaIndex(std::string const &URI, std::string const &Dist,
char const * const Type)
- : Indexes(NULL), Type(Type), URI(URI), Dist(Dist)
+ : Indexes(NULL), Type(Type), URI(URI), Dist(Dist), Trusted(false)
{
/* nothing */
}