From f6d122dd85342a8b2687061b95081be6f08850d1 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 15 Oct 2013 14:13:30 +0200 Subject: [PATCH] get rid of unused variables if ENABLE_LINKED_PKGS is not set --- src/rules.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.7.4