]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/tagfile.cc
some more coverity fixes
[apt.git] / apt-pkg / tagfile.cc
index 1c79ee74ffaecc559f2a2daad8a4f63d30bdcce2..83c1a9a55c820ce0182c58ebeeb2fda221f2b2ee 100644 (file)
@@ -218,6 +218,16 @@ bool pkgTagFile::Jump(pkgTagSection &Tag,unsigned long long Offset)
    return true;
 }
                                                                        /*}}}*/
+// pkgTagSection::pkgTagSection - Constructor                          /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+pkgTagSection::pkgTagSection()
+   : Section(0), TagCount(0), Stop(0), d(NULL)
+{
+   memset(&Indexes, 0, sizeof(Indexes));
+   memset(&AlphaIndexes, 0, sizeof(AlphaIndexes));
+}
+                                                                       /*}}}*/
 // TagSection::Scan - Scan for the end of the header information       /*{{{*/
 // ---------------------------------------------------------------------
 /* This looks for the first double new line in the data stream.