]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/tagfile.cc
Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sid
[apt.git] / apt-pkg / tagfile.cc
index 10bc08d9501e385304adb93899ca8a113f3dc3e8..868adf3d2b8c719ee96c0c9b951685d809ab7251 100644 (file)
@@ -233,6 +233,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.