mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										4
									
								
								file.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								file.c
									
									
									
									
									
								
							| @@ -464,7 +464,7 @@ struct ast_filestream *ast_openstream_full(struct ast_channel *chan, const char | ||||
| 	int fd = -1; | ||||
| 	int fmts = -1; | ||||
| 	char filename2[256]=""; | ||||
| 	char filename3[256]=""; | ||||
| 	char filename3[256]; | ||||
| 	char *endpart; | ||||
| 	int res; | ||||
|  | ||||
| @@ -1149,7 +1149,7 @@ int ast_waitstream_exten(struct ast_channel *c, const char *context) | ||||
| 	/* XXX Maybe I should just front-end ast_waitstream_full ? XXX */ | ||||
| 	int res; | ||||
| 	struct ast_frame *fr; | ||||
| 	char exten[AST_MAX_EXTENSION] = ""; | ||||
| 	char exten[AST_MAX_EXTENSION]; | ||||
|  | ||||
| 	if (!context) context = c->context; | ||||
| 	while(c->stream) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user