Merge "compilation failed with -Werror=maybe-uninitialized" into 13

changes/74/3674/1
zuul 9 years ago committed by Gerrit Code Review
commit e0c807c33d

@ -966,7 +966,9 @@ static int dtls_handler(const struct aco_option *opt,
{
struct ast_sip_endpoint *endpoint = obj;
char *name = ast_strdupa(var->name);
char *front, *back, *buf = name;
char *front = NULL;
char *back = NULL;
char *buf = name;
/* strip out underscores in the name */
front = strtok_r(buf, "_", &back);

Loading…
Cancel
Save