Merge pull request #280 from dragos-oancea/switch_ivr_val-never-read

[core] scan-build: Value stored to 'first_timeout' is never read - switch_ivr_collect_digits_count()
This commit is contained in:
Andrey Volk 2020-01-31 22:50:52 +04:00 committed by GitHub
commit e7ea81530f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}