commit | 1a1b674c2c0609facbbc6a54b966cf1ccd825c54 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Mar 04 16:53:27 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Mar 04 16:53:28 2021 +0100 |
tree | 9b9395a7a4d44f03905bb4965dfd4d9f0be32453 | |
parent | 6f69110191971ab6505ed9edb278f64d404a3a60 [diff] |
CLEANUP: dns: Use DISGUISE() on a never-failing ring_attach() call When a DNS session is created, the call to ring_attach() never fails. The ring is freshly initialized and there is other watcher on it. Thus, the call always succeeds. Instead of catching an error that must never happen, we use the DISGUISE() macro to make static analyzers happy.