]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Remove unused count variable from switch_core_session_execute_exten() 2016/head
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Mar 2023 19:48:11 +0000 (22:48 +0300)
committerAndrey Volk <andywolk@gmail.com>
Fri, 31 Mar 2023 19:48:11 +0000 (22:48 +0300)
src/switch_core_session.c

index 44b653d9ced76edb116bb3199d586b1989f43bd4..a103a6e96439d72830db11c1fc21e526a597ff26 100644 (file)
@@ -3005,7 +3005,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
 {
        char *dp[25];
        char *dpstr;
-       int argc, x, count = 0;
+       int argc, x;
        uint32_t stack_count = 0;
        switch_caller_profile_t *profile, *new_profile, *pp = NULL;
        switch_channel_t *channel = switch_core_session_get_channel(session);
@@ -3059,8 +3059,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
                        continue;
                }
 
-               count++;
-
                extension = dialplan_interface->hunt_function(session, dparg, new_profile);
                UNPROTECT_INTERFACE(dialplan_interface);