remove useless GetInitialize method
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 28 Aug 2010 15:54:29 +0000 (17:54 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 28 Aug 2010 15:54:29 +0000 (17:54 +0200)
cmdline/apt-cache.cc
debian/changelog

index 74a4f69..ba4ad19 100644 (file)
@@ -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);
index 3c549ab..4ec71cb 100644 (file)
@@ -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