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

2
acl.c
View File

@@ -127,7 +127,7 @@ struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path)
{
struct ast_ha *ha = malloc(sizeof(struct ast_ha));
char *nm = "255.255.255.255";
char tmp[256] = "";
char tmp[256];
struct ast_ha *prev = NULL;
struct ast_ha *ret;
int x, z;