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:
Kevin P. Fleming
2005-09-07 21:01:31 +00:00
parent 04a954ae16
commit 1e854ea773
9 changed files with 158 additions and 160 deletions

4
file.c
View File

@@ -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) {