Revision
16052
Author
mrene
Date
2009-12-23 22:35:17 -0600 (Wed, 23 Dec 2009)

Log Message

remove unused var

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (16051 => 16052)


--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	2009-12-24 04:29:16 UTC (rev 16051)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	2009-12-24 04:35:17 UTC (rev 16052)
@@ -289,7 +289,6 @@
 					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 @@
 												   &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;