summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-08-14 17:31:05 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2017-09-09 17:22:11 +0200
commit923522367a28be7235bf6459abfeae89fafffcf1 (patch)
tree77ddaef9a9f7fe78cd8358ca70db82cd6f54b42f
parentcba5c5a26a9bf00724f8ea647ac61b30e32734ba (diff)
drop unused/unimplemented & hidden LoadReleaseInfo
The relevant calling code as well as the implementation for the deb system was removed 2 years ago with the refactoring of release information storage (b07aeb1a6e24825e534167a737043441e871de9f). This commit removes the the unused remains of this change with no practical effect on anybody (expect codesize) as the methods were declared as hidden and hence only libapt could have called it. Gbp-Dch: Ignore
-rw-r--r--apt-pkg/deb/deblistparser.h3
-rw-r--r--apt-pkg/edsp/edsplistparser.cc7
-rw-r--r--apt-pkg/edsp/edsplistparser.h3
3 files changed, 0 insertions, 13 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h
index 8d7efc746..e59f2080a 100644
--- a/apt-pkg/deb/deblistparser.h
+++ b/apt-pkg/deb/deblistparser.h
@@ -87,9 +87,6 @@ class APT_HIDDEN debListParser : public pkgCacheListParser
virtual bool Step() APT_OVERRIDE;
- bool LoadReleaseInfo(pkgCache::RlsFileIterator &FileI,FileFd &File,
- std::string const &section);
-
APT_PUBLIC static const char *ParseDepends(const char *Start,const char *Stop,
std::string &Package,std::string &Ver,unsigned int &Op);
APT_PUBLIC static const char *ParseDepends(const char *Start,const char *Stop,
diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc
index bd02a128a..31bded9ca 100644
--- a/apt-pkg/edsp/edsplistparser.cc
+++ b/apt-pkg/edsp/edsplistparser.cc
@@ -68,13 +68,6 @@ unsigned short edspLikeListParser::VersionHash()
return 0;
}
/*}}}*/
-// ListParser::LoadReleaseInfo - Load the release information /*{{{*/
-APT_PURE bool edspLikeListParser::LoadReleaseInfo(pkgCache::RlsFileIterator & /*FileI*/,
- FileFd & /*File*/, std::string const &/*component*/)
-{
- return true;
-}
- /*}}}*/
// ListParser::ParseStatus - Parse the status field /*{{{*/
// ---------------------------------------------------------------------
/* The Status: line here is not a normal dpkg one but just one which tells
diff --git a/apt-pkg/edsp/edsplistparser.h b/apt-pkg/edsp/edsplistparser.h
index 0fcc3f5fd..59c759f9d 100644
--- a/apt-pkg/edsp/edsplistparser.h
+++ b/apt-pkg/edsp/edsplistparser.h
@@ -35,9 +35,6 @@ class APT_HIDDEN edspLikeListParser : public debListParser
virtual APT::StringView Description_md5() APT_OVERRIDE;
virtual unsigned short VersionHash() APT_OVERRIDE;
- bool LoadReleaseInfo(pkgCache::RlsFileIterator &FileI,FileFd &File,
- std::string const &section);
-
edspLikeListParser(FileFd *File);
virtual ~edspLikeListParser();
};