- remove legace vars now that they are no longer visible
authorMichael Schroeder <mls@suse.de>
Fri, 13 Jan 2012 14:42:43 +0000 (15:42 +0100)
committerMichael Schroeder <mls@suse.de>
Fri, 13 Jan 2012 14:42:43 +0000 (15:42 +0100)
src/solver.c
src/solver.h

index d11e63bdec5dcd70da3bba00246ed32c4155ec30..6f164163aa9637c1ec2c3fed57ffa43b6961ee3c 100644 (file)
@@ -2392,8 +2392,7 @@ solver_solve(Solver *solv, Queue *job)
 
   /* log solver options */
   POOL_DEBUG(SOLV_DEBUG_STATS, "solver started\n");
-  POOL_DEBUG(SOLV_DEBUG_STATS, "fixsystem=%d updatesystem=%d dosplitprovides=%d, noupdateprovide=%d noinfarchcheck=%d\n", solv->fixsystem, solv->updatesystem, solv->dosplitprovides, solv->noupdateprovide, solv->noinfarchcheck);
-  POOL_DEBUG(SOLV_DEBUG_STATS, "distupgrade=%d distupgrade_removeunsupported=%d\n", solv->distupgrade, solv->distupgrade_removeunsupported);
+  POOL_DEBUG(SOLV_DEBUG_STATS, "dosplitprovides=%d, noupdateprovide=%d noinfarchcheck=%d\n", solv->dosplitprovides, solv->noupdateprovide, solv->noinfarchcheck);
   POOL_DEBUG(SOLV_DEBUG_STATS, "allowuninstall=%d, allowdowngrade=%d, allowarchchange=%d, allowvendorchange=%d\n", solv->allowuninstall, solv->allowdowngrade, solv->allowarchchange, solv->allowvendorchange);
   POOL_DEBUG(SOLV_DEBUG_STATS, "promoteepoch=%d, allowselfconflicts=%d\n", pool->promoteepoch, pool->allowselfconflicts);
   POOL_DEBUG(SOLV_DEBUG_STATS, "obsoleteusesprovides=%d, implicitobsoleteusesprovides=%d, obsoleteusescolors=%d\n", pool->obsoleteusesprovides, pool->implicitobsoleteusesprovides, pool->obsoleteusescolors);
@@ -2410,12 +2409,6 @@ solver_solve(Solver *solv, Queue *job)
   queue_free(&solv->job);
   queue_init_clone(&solv->job, job);
 
-  /* initialize with legacy values */
-  solv->fixmap_all = solv->fixsystem;
-  solv->updatemap_all = solv->updatesystem;
-  solv->droporphanedmap_all = solv->distupgrade_removeunsupported;
-  solv->dupmap_all = solv->distupgrade;
-
   /*
    * create basic rule set of all involved packages
    * use addedmap bitmap to make sure we don't create rules twice
index dd1c8a751c086b3466dfe18004c797c7d2e96313..67eb41379050fcecc7ca07dfcc77eb8aede084f3 100644 (file)
@@ -182,22 +182,16 @@ struct _Solver {
    * Solver configuration
    *-------------------------------------------------------------------------------------------------------------*/
 
-  int fixsystem;                       /* repair errors in rpm dependency graph */
   int allowdowngrade;                  /* allow to downgrade installed solvable */
   int allowarchchange;                 /* allow to change architecture of installed solvables */
   int allowvendorchange;               /* allow to change vendor of installed solvables */
   int allowuninstall;                  /* allow removal of installed solvables */
-  int updatesystem;                    /* update all packages to the newest version */
   int noupdateprovide;                 /* true: update packages needs not to provide old package */
   int dosplitprovides;                 /* true: consider legacy split provides */
   int dontinstallrecommended;          /* true: do not install recommended packages */
   int ignorealreadyrecommended;                /* true: ignore recommended packages that were already recommended by the installed packages */
   int dontshowinstalledrecommended;    /* true: do not show recommended packages that are already installed */
   
-  /* distupgrade also needs updatesystem and dosplitprovides */
-  int distupgrade;
-  int distupgrade_removeunsupported;
-
   int noinfarchcheck;                  /* true: do not forbid inferior architectures */