]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: dns: fix null-deref build warning at -Wextra
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2018 09:15:27 +0000 (11:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2018 09:42:15 +0000 (11:42 +0200)
commit433c16ffea78260fada06ca7a110acdc63ce6a33
treefa15dc7dff8fd54265a4b497b2e9cbd481bb38db
parent1aaf3242274496fce27f93c1cfaa1a085063033a
BUILD: dns: fix null-deref build warning at -Wextra

Like for the other checks, the type is being tested just before calling
objt_{server,dns_srvrq}() so let's use the unguarded version instead to
silence the warning.
src/dns.c