diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-07 21:01:31 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-07 21:01:31 +0000 |
commit | e72564ce33cfa83769429e7bd3fec6f1542e4c69 (patch) | |
tree | 8883e9208b7c8df35119da29928dbf5cf120dad7 /file.c | |
parent | b32dc41f8f95c9f48bf3bf93a215e8580a8dd163 (diff) |
remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'file.c')
-rwxr-xr-x | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |