diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 2acead56c8..2d0d02d7fe 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -4557,7 +4557,8 @@ SWITCH_STANDARD_API(coalesce_function) } if (argc > 0) { - for (int i = 0; i < argc; i++) { + int i; + for (i = 0; i < argc; i++) { if (argv[i] && *argv[i]) { stream->write_function(stream, argv[i]); status = SWITCH_STATUS_SUCCESS;