diff options
author | Michael Vogt <mvo@debian.org> | 2013-08-22 23:00:31 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-08-22 23:00:31 +0200 |
commit | 6fd51a5f4300f4b1563cdf2a34f59e6bbaacb838 (patch) | |
tree | 6469d9c9f58ebce2557a9689b8907752990734b3 /apt-pkg/tagfile.cc | |
parent | 329dea2d39d2518e43f0761c1c89990857e197ad (diff) | |
parent | 2510eea4a0922b7b6da8099deb70ca87851633ce (diff) |
Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r-- | apt-pkg/tagfile.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc index 10bc08d95..b91e868e2 100644 --- a/apt-pkg/tagfile.cc +++ b/apt-pkg/tagfile.cc @@ -233,6 +233,16 @@ bool pkgTagFile::Jump(pkgTagSection &Tag,unsigned long long Offset) return true; } /*}}}*/ +// pkgTagSection::pkgTagSection - Constructor /*{{{*/ +// --------------------------------------------------------------------- +/* */ +pkgTagSection::pkgTagSection() + : Section(0), TagCount(0), d(NULL), Stop(0) +{ + 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. |