summaryrefslogtreecommitdiff
path: root/lib/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query.c')
-rw-r--r--lib/query.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/query.c b/lib/query.c
index cc0da5e89..6225c9f01 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -692,8 +692,11 @@ restart:
break;
}
- for (pkg = spec->packages; pkg != NULL; pkg = pkg->next)
+ for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
+ /*@-noeffectuncon@*/ /* FIX: check rc */
(void) showPackage(qva, NULL, pkg->header);
+ /*@=noeffectuncon@*/
+ }
spec = freeSpecVec(spec);
} break;