diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-22 22:53:49 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-22 22:53:49 +0000 |
commit | 6204abdae2f51fd8e23702532c3a4e93002396e1 (patch) | |
tree | c3e6c9f1df9f8d9321bbbd0d8108548d64f706dd /funcs/func_enum.c | |
parent | fdd33866b438de919356cb5bb30a811ecb0e66f9 (diff) |
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_enum.c')
-rw-r--r-- | funcs/func_enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_enum.c b/funcs/func_enum.c index 51eb61e47..806118a59 100644 --- a/funcs/func_enum.c +++ b/funcs/func_enum.c @@ -88,7 +88,7 @@ static int function_enum(struct ast_channel *chan, char *cmd, char *data, args.options = "1"; /* strip any '-' signs from number */ - for (p = args.number, s = p; *s; *s++) { + for (s = p = args.number; *s; s++) { if (*s != '-') *p++ = *s; } |