diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 19:20:53 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 19:20:53 +0200 |
commit | dd6882853b4555a6113740afca417acbaa060043 (patch) | |
tree | 5d05673e84fd0f9209642fa13d016345d9360ca1 /apt-pkg/indexfile.cc | |
parent | b40b7c380acbdcd84338bdcd253df32f1ef79ed8 (diff) |
fix some cppcheck: (warning) Member variable is not initialized in the constructor.
Diffstat (limited to 'apt-pkg/indexfile.cc')
-rw-r--r-- | apt-pkg/indexfile.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/indexfile.cc b/apt-pkg/indexfile.cc index 37be87055..f18ddbfaa 100644 --- a/apt-pkg/indexfile.cc +++ b/apt-pkg/indexfile.cc @@ -27,7 +27,8 @@ unsigned long pkgIndexFile::Type::GlobalListLen = 0; pkgIndexFile::Type::Type() { ItmList[GlobalListLen] = this; - GlobalListLen++; + GlobalListLen++; + Label = NULL; } /*}}}*/ // Type::GetType - Locate the type by name /*{{{*/ |