diff options
Diffstat (limited to 'examples/solv/patchjobs.c')
-rw-r--r-- | examples/solv/patchjobs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/solv/patchjobs.c b/examples/solv/patchjobs.c index 64ad607..929a203 100644 --- a/examples/solv/patchjobs.c +++ b/examples/solv/patchjobs.c @@ -19,8 +19,10 @@ add_patchjobs(Pool *pool, Queue *job) map_init(&installedmap, pool->nsolvables); solver_calculate_multiversionmap(pool, job, &multiversionmap); if (pool->installed) - FOR_REPO_SOLVABLES(pool->installed, p, s) - MAPSET(&installedmap, p); + { + FOR_REPO_SOLVABLES(pool->installed, p, s) + MAPSET(&installedmap, p); + } /* install all patches */ for (p = 1; p < pool->nsolvables; p++) |