summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c b/meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c
index 4e9d055f24..7f4caf9886 100644
--- a/meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c
+++ b/meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c
@@ -275,7 +275,13 @@ int printDepList(rpmts *ts, int tscount)
275 char *name = strdup((char *)he->p.ptr); 275 char *name = strdup((char *)he->p.ptr);
276 /* Get its requires */ 276 /* Get its requires */
277 he->tag = RPMTAG_REQUIRENAME; 277 he->tag = RPMTAG_REQUIRENAME;
278 rc = (headerGet(h, he, 0) != 1); 278 if (rc = (headerGet(h, he, 0) != 1)) {
279 if (debugmode) {
280 printf("DEBUG: %s requires null\n", name);
281 }
282 rc = 0;
283 continue;
284 }
279 ARGV_t reqs = (ARGV_t)he->p.ptr; 285 ARGV_t reqs = (ARGV_t)he->p.ptr;
280 /* Get its requireflags */ 286 /* Get its requireflags */
281 he->tag = RPMTAG_REQUIREFLAGS; 287 he->tag = RPMTAG_REQUIREFLAGS;