]> git.saurik.com Git - apt.git/commitdiff
cmdline/apt-extracttemplates.cc: remove unused private var
authorMichael Vogt <mvo@debian.org>
Wed, 28 May 2014 11:49:52 +0000 (13:49 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 28 May 2014 11:49:52 +0000 (13:49 +0200)
Reported-By: clang -Wall
cmdline/apt-extracttemplates.cc
cmdline/apt-extracttemplates.h

index e4428e05154e26ad2b4cef7d36a0423965702242..6dd53b78dea2a81d3f0c091014c687ebe10cf81b 100644 (file)
@@ -52,7 +52,7 @@ pkgCache *DebFile::Cache = 0;
 // ---------------------------------------------------------------------
 /* */
 DebFile::DebFile(const char *debfile)
 // ---------------------------------------------------------------------
 /* */
 DebFile::DebFile(const char *debfile)
-       : File(debfile, FileFd::ReadOnly), Size(0), Control(NULL), ControlLen(0),
+       : File(debfile, FileFd::ReadOnly), Control(NULL), ControlLen(0),
          DepOp(0), PreDepOp(0), Config(0), Template(0), Which(None)
 {
 }
          DepOp(0), PreDepOp(0), Config(0), Template(0), Which(None)
 {
 }
index 9cc3f5f258be11451c4492a60ad9ccf1891abd05..6d2870a02365cd48730a9cd237e7e39bf6a97022 100644 (file)
@@ -20,7 +20,6 @@ class pkgCache;
 class DebFile : public pkgDirStream
 {
        FileFd File;
 class DebFile : public pkgDirStream
 {
        FileFd File;
-       unsigned long Size;
        char *Control;
        unsigned long ControlLen;
        
        char *Control;
        unsigned long ControlLen;