summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-28 13:49:52 +0200
committerMichael Vogt <mvo@debian.org>2014-05-29 12:15:00 +0200
commit387fb4aea8415d09e177195841fbefb39bf5521b (patch)
treea1e4054c8c75075c77f81e85b0d0a4204d35c4a4 /cmdline
parent1f46d14620a0b58a9239fa3faa59ba79a98f6c98 (diff)
cmdline/apt-extracttemplates.cc: remove unused private var
Reported-By: clang -Wall
Diffstat (limited to 'cmdline')
-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 7be59b9f8..0d568106f 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;