summaryrefslogtreecommitdiff
path: root/src/transaction.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-05-19 12:33:35 +0200
committerMichael Schroeder <mls@suse.de>2011-05-19 12:33:35 +0200
commit685d3d75c18e5c33f40879b46905b0aac788b73e (patch)
treeb92469d90b259a811a1ecb005b2731c59661facf /src/transaction.c
parentc9ff4820c732e729af61f19d00986bb6cab79a26 (diff)
downloadlibsolv-685d3d75c18e5c33f40879b46905b0aac788b73e.tar.gz
libsolv-685d3d75c18e5c33f40879b46905b0aac788b73e.tar.bz2
libsolv-685d3d75c18e5c33f40879b46905b0aac788b73e.zip
- make peace with gcc46
Diffstat (limited to 'src/transaction.c')
-rw-r--r--src/transaction.c3
1 files changed, 1 insertions, 2 deletions
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 */