]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
fix some cppcheck: (warning) Member variable is not initialized in the constructor.
[apt.git] / apt-pkg / indexfile.cc
index 37be87055367d8eb02ba3135f0315976a4de1df3..f18ddbfaae1556ae8688b800b447eea14ff3503a 100644 (file)
@@ -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                             /*{{{*/