From: David Kalnischkies Date: Sat, 28 Aug 2010 15:52:55 +0000 (+0200) Subject: remove death code by removing unused GetInitialize X-Git-Tag: 0.8.1~4^2~3 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/d6ff64f7068b506d82bbcfde0d9aad527f5951d0?hp=-c remove death code by removing unused GetInitialize --- d6ff64f7068b506d82bbcfde0d9aad527f5951d0 diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 733788353..d1c010e49 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -2834,22 +2834,6 @@ bool ShowHelp(CommandLine &CmdL) return true; } /*}}}*/ -// GetInitialize - Initialize things for apt-get /*{{{*/ -// --------------------------------------------------------------------- -/* */ -void GetInitialize() -{ - _config->Set("quiet",0); - _config->Set("help",false); - _config->Set("APT::Get::Download-Only",false); - _config->Set("APT::Get::Simulate",false); - _config->Set("APT::Get::Assume-Yes",false); - _config->Set("APT::Get::Fix-Broken",false); - _config->Set("APT::Get::Force-Yes",false); - _config->Set("APT::Get::List-Cleanup",true); - _config->Set("APT::Get::AutomaticRemove",false); -} - /*}}}*/ // SigWinch - Window size change signal handler /*{{{*/ // --------------------------------------------------------------------- /* */ diff --git a/debian/changelog b/debian/changelog index 781b0e6ac..3c549ab9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,13 +19,14 @@ apt (0.8.1) UNRELEASED; urgency=low * 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 + - remove death code by removing unused GetInitialize * apt-pkg/depcache.cc: - now that apt-get purge works on 'rc' packages let the MarkDelete pass this purge forward to the non-pseudo package for pseudos * apt-pkg/contrib/fileutl.cc: - apply SilentlyIgnore also on files without an extension - -- David Kalnischkies Sat, 28 Aug 2010 17:33:31 +0200 + -- David Kalnischkies Sat, 28 Aug 2010 17:52:36 +0200 apt (0.8.0) unstable; urgency=low