]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove unused var
authorMathieu Rene <mrene@avgs.ca>
Thu, 24 Dec 2009 04:35:17 +0000 (04:35 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 24 Dec 2009 04:35:17 +0000 (04:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16052 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 61e6866a09b82dae2f2155a67f09541bd74cf2d6..06fd78847b6590ec60f13859282bb701ce208081 100644 (file)
@@ -289,7 +289,6 @@ SWITCH_STANDARD_API(group_call_function)
                                        const char *dest = NULL;
                                        char *d_dest = NULL;
                                        switch_xml_t xml_for_pointer = NULL, x_domain_for_pointer = NULL, x_group_for_pointer = NULL, x_user_for_pointer = NULL;
-                                       switch_call_cause_t cause = SWITCH_CAUSE_NONE;
 
                                        my_x_user = x_user;
 
@@ -299,7 +298,6 @@ SWITCH_STANDARD_API(group_call_function)
                                                                                                   &x_user_for_pointer, &x_group_for_pointer,
                                                                                                   params) != SWITCH_STATUS_SUCCESS) {
                                                        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Can't find user [%s@%s]\n", id, domain);
-                                                       cause = SWITCH_CAUSE_SUBSCRIBER_ABSENT;
                                                        goto done_x_user;
                                                }
                                                my_x_user = x_user_for_pointer;