summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-28 13:49:52 +0200
committerMichael Vogt <mvo@debian.org>2014-05-28 13:49:52 +0200
commitd01d91d397284fb2ab3402dddede1594d2685356 (patch)
tree12897940df0b70e1c8946998944157c1cf7070a7
parentd3d1d74bd29b72f08aa3e1d442f4f2b2acbb99de (diff)
cmdline/apt-extracttemplates.cc: remove unused private var
Reported-By: clang -Wall
-rw-r--r--cmdline/apt-extracttemplates.cc2
-rw-r--r--cmdline/apt-extracttemplates.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index e4428e051..6dd53b78d 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/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)
{
}
diff --git a/cmdline/apt-extracttemplates.h b/cmdline/apt-extracttemplates.h
index 9cc3f5f25..6d2870a02 100644
--- a/cmdline/apt-extracttemplates.h
+++ b/cmdline/apt-extracttemplates.h
@@ -20,7 +20,6 @@ class pkgCache;
class DebFile : public pkgDirStream
{
FileFd File;
- unsigned long Size;
char *Control;
unsigned long ControlLen;