res_audiosocket: Avoid Sometimes-uninitialized Warning with Clang.

Change-Id: I40c014c2cb88e943cf6f1b99a08c7c885e855b3a
This commit is contained in:
Alexander Traud 2020-04-13 18:38:37 +02:00 committed by Friendly Automation
parent de66713fd5
commit 27de0c9700
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ static int handle_audiosocket_connection(const char *server,
const int ast_audiosocket_connect(const char *server, struct ast_channel *chan)
{
int s = -1;
struct ast_sockaddr *addrs;
struct ast_sockaddr *addrs = NULL;
int num_addrs = 0, i = 0;
if (chan && ast_autoservice_start(chan) < 0) {