silence clang static analyser warning. [RT #46881]

This commit is contained in:
Mark Andrews 2018-01-22 09:47:53 +11:00
parent fdd8838bf9
commit af034ef188

View file

@ -8147,6 +8147,8 @@ query_addnxrrsetnsec(query_ctx_t *qctx) {
isc_buffer_t *dbuf, b;
dns_name_t *fname;
INSIST(qctx->fname != NULL);
if ((qctx->fname->attributes & DNS_NAMEATTR_WILDCARD) == 0) {
query_addrrset(client, &qctx->fname,
&qctx->rdataset, &qctx->sigrdataset,