diff options
Diffstat (limited to 'lib/query.c')
-rw-r--r-- | lib/query.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/query.c b/lib/query.c index 519fbdd4a..366355acb 100644 --- a/lib/query.c +++ b/lib/query.c @@ -102,7 +102,6 @@ static void printFileInfo(const char * name, int showQueryPackage(QVA_t qva, rpmts ts, Header h) { - int scareMem = 0; rpmfi fi = NULL; int rc = 0; /* XXX FIXME: need real return code */ int i; @@ -122,7 +121,7 @@ int showQueryPackage(QVA_t qva, rpmts ts, Header h) if (!(qva->qva_flags & QUERY_FOR_LIST)) goto exit; - fi = rpmfiNew(ts, h, RPMTAG_BASENAMES, scareMem); + fi = rpmfiNew(ts, h, RPMTAG_BASENAMES, RPMFI_NOHEADER); if (rpmfiFC(fi) <= 0) { rpmlog(RPMLOG_NOTICE, _("(contains no files)\n")); goto exit; |