From: Michael Schroeder Date: Tue, 15 Oct 2013 12:13:30 +0000 (+0200) Subject: get rid of unused variables if ENABLE_LINKED_PKGS is not set X-Git-Tag: upstream/0.6.4~190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6d122dd85342a8b2687061b95081be6f08850d1;p=platform%2Fupstream%2Flibsolv.git get rid of unused variables if ENABLE_LINKED_PKGS is not set --- diff --git a/src/rules.c b/src/rules.c index bc0a850..b3f9c7b 100644 --- a/src/rules.c +++ b/src/rules.c @@ -2388,7 +2388,9 @@ static void getrpmruleinfos(Solver *solv, Rule *r, Queue *rq) { Pool *pool = solv->pool; +#ifdef ENABLE_LINKED_PKGS Id l, d; +#endif if (r->p >= 0) return; queue_push(rq, r - solv->rules); /* push the rule we're interested in */