From 685d3d75c18e5c33f40879b46905b0aac788b73e Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 19 May 2011 12:33:35 +0200 Subject: - make peace with gcc46 --- src/transaction.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/transaction.c') diff --git a/src/transaction.c b/src/transaction.c index 4efc4da..4514f2c 100644 --- a/src/transaction.c +++ b/src/transaction.c @@ -1930,7 +1930,7 @@ transaction_add_obsoleted(Transaction *trans) Repo *installed = pool->installed; Id p; Solvable *s; - int i, j, k, max, oldcount; + int i, j, k, max; Map done; Queue obsq, *steps; @@ -1945,7 +1945,6 @@ transaction_add_obsoleted(Transaction *trans) return; /* make room */ steps = &trans->steps; - oldcount = steps->count; queue_insertn(steps, 0, max); /* now add em */ -- cgit v1.2.3