FS-11785 [mod_commands] fix dead assignments
This commit is contained in:
parent
7e1df77421
commit
d77034a304
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue