[core] scan-build: Value stored to 'first_timeout' is never read - switch_ivr_collect_digits_count()

This commit is contained in:
Dragos Oancea 2020-01-30 22:31:04 +00:00
parent b067a7ccbd
commit 3fadf95090
1 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_count(switch_core_sess
if (digit_timeout && first_timeout) {
eff_timeout = first_timeout;
} else if (digit_timeout && !first_timeout) {
first_timeout = eff_timeout = digit_timeout;
eff_timeout = digit_timeout;
} else if (first_timeout) {
digit_timeout = eff_timeout = first_timeout;
}