FS-11785 [mod_commands] fix dead assignments

This commit is contained in:
Chris Rienzo 2019-04-15 16:41:01 -04:00 committed by Andrey Volk
parent 7e1df77421
commit d77034a304
1 changed files with 0 additions and 3 deletions

View File

@ -1512,8 +1512,6 @@ SWITCH_STANDARD_API(stun_function)
if (iport > 0 && iport < 0xFFFF) {
stun_port = (switch_port_t) iport;
}
} else {
p = stun_ip;
}
if (!zstr(src_ip) && (p = strchr(src_ip, ':'))) {
@ -3117,7 +3115,6 @@ SWITCH_STANDARD_API(tone_detect_session_function)
} else {
if ((to = atoi(argv[4])) < switch_epoch_time_now(NULL)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "INVALID Timeout!\n");
to = 0;
goto done;
}
}