From 52f208dca305cd52d9760f9814583c1e4de243e6 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 10 Jul 2007 13:52:49 +0300 Subject: [PATCH] Remove meaningles statement to avoid compiler warning. --- lib/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction.c b/lib/transaction.c index 2db0b5a..ae3e15e 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -2121,7 +2121,7 @@ assert(psm != NULL); int numShared = 0; if (replaced != NULL) { - for (replaced; replaced->otherPkg; replaced++) { + for (; replaced->otherPkg; replaced++) { numShared++; } if (numShared > 0) { -- 2.7.4