summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 17:54:29 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 17:54:29 +0200
commite56aac77a45e7a9a5620be12dfae0e2296f1d560 (patch)
tree792829a4f00475a5793baffe218e80f295ed49bc
parentd6ff64f7068b506d82bbcfde0d9aad527f5951d0 (diff)
remove useless GetInitialize method
-rw-r--r--cmdline/apt-cache.cc11
-rw-r--r--debian/changelog3
2 files changed, 2 insertions, 12 deletions
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 <kalnischkies@gmail.com> Sat, 28 Aug 2010 17:52:36 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com> Sat, 28 Aug 2010 17:53:00 +0200
apt (0.8.0) unstable; urgency=low