lib/adnss: clang: Fix The left operand of '!=' is a garbage value
commit849ffbc8251aa193cfcab043ab7c818a666a4a68
authorNoel Power <noel.power@suse.com>
Tue, 9 Jul 2019 14:08:49 +0000 (9 14:08 +0000)
committerGary Lockyer <gary@samba.org>
Wed, 24 Jul 2019 21:33:20 +0000 (24 21:33 +0000)
tree59d5e42b9a550868904db2a476eb4f5fc08d6fbb
parent90e36ef72992a073ba92e736f4533a10f3f5248f
lib/adnss: clang: Fix The left operand of '!=' is a garbage value

Fixes:

lib/addns/dnssock.c:143:3: warning: The left operand of '!=' is a garbage value <--[clang]
                TALLOC_FREE(conn);
                ^
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/addns/dnssock.c