diff --git a/funcs/func_strings.c b/funcs/func_strings.c index c400bcb36c..de754be68e 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -99,7 +99,7 @@ static int filter(struct ast_channel *chan, const char *cmd, char *parse, char * } /* Expand ranges */ - for (; *(args.allowed) && allowedlen < sizeof(allowed); (args.allowed)++) { + for (; *(args.allowed) && allowedlen < sizeof(allowed); ) { char c1 = 0, c2 = 0; size_t consumed = 0;