]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_callcenter] scan-build: Fix dead initialization. 443/head
authorAndrey Volk <andywolk@gmail.com>
Wed, 26 Feb 2020 12:53:21 +0000 (16:53 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 26 Feb 2020 12:53:21 +0000 (16:53 +0400)
src/mod/applications/mod_callcenter/mod_callcenter.c

index cdbb9f4361f9b25f86cdcee2b6a2d30ad906c17c..f59b7440984a8819cb4476f0e3ca8e8641d766ba 100644 (file)
@@ -1656,7 +1656,7 @@ end:
 static switch_status_t playback_array(switch_core_session_t *session, const char *str) {
        switch_status_t status = SWITCH_STATUS_FALSE;
        if (str && !strncmp(str, "ARRAY::", 7)) {
-               char *i = (char*) str + 7, *j = i;
+               char *i = (char*) str + 7, *j;
                while (1) {
                        if ((j = strstr(i, "::"))) {
                                *j = 0;