summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 17:52:55 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 17:52:55 +0200
commitd6ff64f7068b506d82bbcfde0d9aad527f5951d0 (patch)
treec9da43e63a09aefdffa03c850c9037c12cd27724
parent5edc3966e2e1eb4e94b5bd64d59c3a3a78a76ab0 (diff)
remove death code by removing unused GetInitialize
-rw-r--r--cmdline/apt-get.cc16
-rw-r--r--debian/changelog3
2 files changed, 2 insertions, 17 deletions
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 <kalnischkies@gmail.com> Sat, 28 Aug 2010 17:33:31 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com> Sat, 28 Aug 2010 17:52:36 +0200
apt (0.8.0) unstable; urgency=low