From: David Kalnischkies Date: Sat, 28 Aug 2010 15:54:29 +0000 (+0200) Subject: remove useless GetInitialize method X-Git-Tag: 0.8.1~4^2~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e56aac77a45e7a9a5620be12dfae0e2296f1d560?hp=--cc remove useless GetInitialize method --- e56aac77a45e7a9a5620be12dfae0e2296f1d560 diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 74a4f69c2..ba4ad1943 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1781,15 +1781,6 @@ bool ShowHelp(CommandLine &Cmd) return true; } /*}}}*/ -// CacheInitialize - Initialize things for apt-cache /*{{{*/ -// --------------------------------------------------------------------- -/* */ -void CacheInitialize() -{ - _config->Set("quiet",0); - _config->Set("help",false); -} - /*}}}*/ int main(int argc,const char *argv[]) /*{{{*/ { CommandLine::Args Args[] = { @@ -1841,8 +1832,6 @@ int main(int argc,const char *argv[]) /*{{{*/ {"madison",&Madison}, {0,0}}; - CacheInitialize(); - // Set up gettext support setlocale(LC_ALL,""); textdomain(PACKAGE); diff --git a/debian/changelog b/debian/changelog index 3c549ab9c..4ec71cbb6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ apt (0.8.1) UNRELEASED; urgency=low [ David Kalnischkies ] * cmdline/apt-cache.cc: - show in madison command again also source packages (LP: #614589) + - remove useless GetInitialize method * cmdline/apt-get.cc: - remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display @@ -26,7 +27,7 @@ apt (0.8.1) UNRELEASED; urgency=low * apt-pkg/contrib/fileutl.cc: - apply SilentlyIgnore also on files without an extension - -- David Kalnischkies Sat, 28 Aug 2010 17:52:36 +0200 + -- David Kalnischkies Sat, 28 Aug 2010 17:53:00 +0200 apt (0.8.0) unstable; urgency=low