From 923522367a28be7235bf6459abfeae89fafffcf1 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 14 Aug 2017 17:31:05 +0200 Subject: 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 --- apt-pkg/deb/deblistparser.h | 3 --- apt-pkg/edsp/edsplistparser.cc | 7 ------- apt-pkg/edsp/edsplistparser.h | 3 --- 3 files changed, 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 §ion); - 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 §ion); - edspLikeListParser(FileFd *File); virtual ~edspLikeListParser(); }; -- cgit v1.2.3