Explicitly suppress error returned by DomainValueHookTLS

This error is already logged, so suppresing it is not a bug.  Making the
suppression explicit fixes a static analysis warning.
pull/152/head
Jeremy Rand 2 years ago
parent 04193f251e
commit 30b48de356
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -455,7 +455,7 @@ func (tx *btx) addAnswersUnderNCValueActual(ncv *ncdomain.Value, sn string) (rrs
// TODO: add callback variable "OnValueReferencedFunc" to backend options so that we don't pollute this function with every hook that we want
// might need to add the other attributes of tx, and sn, to the callback variable for flexibility's sake
// This doesn't normally return errors, but any errors during execution will be logged.
tlshook.DomainValueHookTLS(tx.qname, ncv)
_ = tlshook.DomainValueHookTLS(tx.qname, ncv)
return
}

Loading…
Cancel
Save