mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
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>
This commit is contained in:
parent
90e36ef729
commit
849ffbc825
@ -125,7 +125,7 @@ static DNS_ERROR dns_udp_open( const char *nameserver,
|
||||
{
|
||||
struct addrinfo hints;
|
||||
struct sockaddr_storage RecvAddr;
|
||||
struct dns_connection *conn;
|
||||
struct dns_connection *conn = NULL;
|
||||
DNS_ERROR dns_ret;
|
||||
socklen_t RecvAddrLen;
|
||||
char service[16];
|
||||
|
Loading…
Reference in New Issue
Block a user