Sfoglia il codice sorgente

cmdline/apt-extracttemplates.cc: remove unused private var

Reported-By: clang -Wall
Michael Vogt 12 anni fa
parent
commit
d01d91d397
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 1
      cmdline/apt-extracttemplates.cc
  2. 0 1
      cmdline/apt-extracttemplates.h

+ 1 - 1
cmdline/apt-extracttemplates.cc

@@ -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)
 {
 }

+ 0 - 1
cmdline/apt-extracttemplates.h

@@ -20,7 +20,6 @@ class pkgCache;
 class DebFile : public pkgDirStream
 {
 	FileFd File;
-	unsigned long Size;
 	char *Control;
 	unsigned long ControlLen;