Просмотр исходного кода

remove death code by removing unused GetInitialize

David Kalnischkies лет назад: 16
Родитель
Сommit
d6ff64f706
2 измененных файлов с 2 добавлено и 17 удалено
  1. 0 16
      cmdline/apt-get.cc
  2. 2 1
      debian/changelog

+ 0 - 16
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				/*{{{*/
 // ---------------------------------------------------------------------
 /* */

+ 2 - 1
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