get rid of unused variables if ENABLE_LINKED_PKGS is not set
authorMichael Schroeder <mls@suse.de>
Tue, 15 Oct 2013 12:13:30 +0000 (14:13 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 15 Oct 2013 12:13:30 +0000 (14:13 +0200)
src/rules.c

index bc0a850..b3f9c7b 100644 (file)
@@ -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 */