]> 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>
Thu, 29 May 2014 10:15:00 +0000 (12:15 +0200)
Reported-By: clang -Wall
cmdline/apt-extracttemplates.cc
cmdline/apt-extracttemplates.h

index 7be59b9f81cae3cf7b1b7a2002fa843b308209e4..0d568106f3239c627fc9ae8da9cc1da62e24ba93 100644 (file)
@@ -52,7 +52,7 @@ pkgCache *DebFile::Cache = 0;
 // ---------------------------------------------------------------------
 /* */
 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)
 {
 }
index 9cc3f5f258be11451c4492a60ad9ccf1891abd05..6d2870a02365cd48730a9cd237e7e39bf6a97022 100644 (file)
@@ -20,7 +20,6 @@ class pkgCache;
 class DebFile : public pkgDirStream
 {
        FileFd File;
-       unsigned long Size;
        char *Control;
        unsigned long ControlLen;