mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-17 10:11:53 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user