Skip to content
Snippets Groups Projects
Commit 27de0c97 authored by Alexander Traud's avatar Alexander Traud Committed by Friendly Automation
Browse files

res_audiosocket: Avoid Sometimes-uninitialized Warning with Clang.

Change-Id: I40c014c2cb88e943cf6f1b99a08c7c885e855b3a
parent de66713f
Branches
Tags
No related merge requests found
...@@ -99,7 +99,7 @@ static int handle_audiosocket_connection(const char *server, ...@@ -99,7 +99,7 @@ static int handle_audiosocket_connection(const char *server,
const int ast_audiosocket_connect(const char *server, struct ast_channel *chan) const int ast_audiosocket_connect(const char *server, struct ast_channel *chan)
{ {
int s = -1; int s = -1;
struct ast_sockaddr *addrs; struct ast_sockaddr *addrs = NULL;
int num_addrs = 0, i = 0; int num_addrs = 0, i = 0;
if (chan && ast_autoservice_start(chan) < 0) { if (chan && ast_autoservice_start(chan) < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment