aboutsummaryrefslogtreecommitdiffstats
path: root/acl.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-07 21:01:31 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-07 21:01:31 +0000
commite72564ce33cfa83769429e7bd3fec6f1542e4c69 (patch)
tree8883e9208b7c8df35119da29928dbf5cf120dad7 /acl.c
parentb32dc41f8f95c9f48bf3bf93a215e8580a8dd163 (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 'acl.c')
-rwxr-xr-xacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/acl.c b/acl.c
index 23c1ecc93..4d6fcdc52 100755
--- a/acl.c
+++ b/acl.c
@@ -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;