From d4334b3ee7ce4f5c736d3bda979388a87ba7aef3 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Tue, 10 Sep 2019 15:38:48 +0900 Subject: Imported Upstream version 0.7.3 --- src/dirpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dirpool.c') diff --git a/src/dirpool.c b/src/dirpool.c index afb26ea..bed9435 100644 --- a/src/dirpool.c +++ b/src/dirpool.c @@ -85,7 +85,7 @@ dirpool_make_dirtraverse(Dirpool *dp) return; dp->dirs = solv_extend_resize(dp->dirs, dp->ndirs, sizeof(Id), DIR_BLOCK); dirtraverse = solv_calloc_block(dp->ndirs, sizeof(Id), DIR_BLOCK); - for (parent = 0, i = 0; i < dp->ndirs; i++) + for (i = 0; i < dp->ndirs; i++) { if (dp->dirs[i] > 0) continue; -- cgit v1.2.3