mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
res_audiosocket: Avoid Sometimes-uninitialized Warning with Clang.
Change-Id: I40c014c2cb88e943cf6f1b99a08c7c885e855b3a
This commit is contained in:
committed by
Friendly Automation
parent
de66713fd5
commit
27de0c9700
@@ -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) {
|
||||
|
Reference in New Issue
Block a user