mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merge "compilation failed with -Werror=maybe-uninitialized"
This commit is contained in:
		| @@ -963,7 +963,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