[sofia-sip] scan-build: Fix "Result of operation is garbage or undefined" in sres_log_response()

This commit is contained in:
Andrey Volk 2020-02-20 01:47:54 +04:00
parent 1fc955be82
commit 27e4a872c5
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Thu Feb 13 14:53:01 UTC 2020
Wed Feb 19 21:45:20 UTC 2020

View File

@ -3460,7 +3460,7 @@ sres_resolver_receive(sres_resolver_t *res, int socket)
sres_record_t **reply;
sres_server_t *dns;
struct sockaddr_storage from[1];
struct sockaddr_storage from[1] = { 0 };
socklen_t fromlen = sizeof from;
SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_receive",