Merge pull request #455 from dragos-oancea/mod_voicemail_ivr-previous_msg-val-never-read

[mod_voicemail_ivr] scan-build: Value stored to 'previous_msg' during its initialization is never read - vmivr_menu_navigator()
This commit is contained in:
Andrey Volk 2020-02-28 00:34:35 +04:00 committed by GitHub
commit e731517198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ void vmivr_menu_navigator(switch_core_session_t *session, vmivr_profile_t *profi
size_t msg_count = 0;
size_t current_msg = 1;
size_t next_msg = current_msg;
size_t previous_msg = current_msg;
size_t previous_msg;
char *cmd = NULL;
int retry;