]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- remove unused "suppstart" variable
authorMichael Schroeder <mls@suse.de>
Mon, 18 Jul 2011 10:52:21 +0000 (12:52 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 18 Jul 2011 10:52:21 +0000 (12:52 +0200)
src/solver.c

index 704b38006f9150f31e1f967d5ec0f1ec5f25d2e5..d96acd4fd662e563c6b6fb1aa4972173e4fcb822 100644 (file)
@@ -3330,7 +3330,6 @@ solver_describe_weakdep_decision(Solver *solv, Id p, Queue *whyq)
   if (s->supplements && level > 0)
     {
       Id *supp, sup, pp2, p2;
-      int suppstart;
       /* this is a hack. to use solver_dep_fulfilled we temporarily clear
        * everything above our level in the decisionmap */
       for (i = decisionno; i < solv->decisionq.count; i++ )
@@ -3340,7 +3339,6 @@ solver_describe_weakdep_decision(Solver *solv, Id p, Queue *whyq)
            solv->decisionmap[p2] = -solv->decisionmap[p2];
        }
       supp = s->repo->idarraydata + s->supplements;
-      suppstart = whyq->count;
       while ((sup = *supp++) != 0)
        if (solver_dep_fulfilled(solv, sup))
          {