diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:38:58 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:39:53 +0900 |
commit | 22e701e553344eeb22f88ed0906d76c9a5e39d83 (patch) | |
tree | 493781d54b4af93dc853e86a0be040d1da95a13c /examples/solv/patchjobs.c | |
parent | f458102388250c8a1cbbfa8f18d27baa204c696c (diff) | |
download | libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.tar.gz libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.tar.bz2 libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.zip |
Imported Upstream version 0.6.24upstream/0.6.24
Change-Id: I68f4d40b704c1ccd2a86576a3c03687922f023aa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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++) |