Build fix for gcc 4.9 fixing a variable set but not used error

This commit is contained in:
William King 2014-12-20 14:46:21 -08:00 committed by Ken Rice
parent 95bc5d2bef
commit 26aba8de77
1 changed files with 4 additions and 0 deletions

View File

@ -2965,6 +2965,10 @@ SWITCH_STANDARD_API(uuid_drop_dtmf)
dup = strdup(cmd);
argc = switch_split(dup, ' ', argv);
if ( argc < 4 ) {
stream->write_function(stream, "-USAGE: %s\n", UUID_DROP_DTMF_SYNTAX);
goto end;
}
if (argv[0]) {
uuid = argv[0];