summaryrefslogtreecommitdiff
path: root/src/dirpool.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:48 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:48 +0900
commitd4334b3ee7ce4f5c736d3bda979388a87ba7aef3 (patch)
treebd59cecbc982f93ef4a237bd81f1b9cfd0cb10c7 /src/dirpool.c
parent79b3a6b7ab494c5ff10e740fd147f21a04907907 (diff)
downloadlibsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.tar.gz
libsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.tar.bz2
libsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.zip
Imported Upstream version 0.7.3upstream/0.7.3
Diffstat (limited to 'src/dirpool.c')
-rw-r--r--src/dirpool.c2
1 files changed, 1 insertions, 1 deletions
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;