diff --git a/lib/tagname.c b/lib/tagname.c index 68b252991..4efd847eb 100644 --- a/lib/tagname.c +++ b/lib/tagname.c @@ -234,7 +234,7 @@ int rpmTagGetNames(rpmtd tagnames, int fullname) pthread_once(&tagsLoaded, loadTags); - if (tagnames == NULL || tagsByName == NULL) + if (tagnames == NULL) return 0; rpmtdReset(tagnames);