mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "compilation failed with -Werror=maybe-uninitialized" into 13
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user