minor cleanup
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 3 Nov 2005 21:48:39 +0000 (21:48 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 3 Nov 2005 21:48:39 +0000 (21:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6956 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
res/res_features.c

index 0367cc5..27b4a71 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
 
 2005-11-03  Kevin P. Fleming  <kpfleming@digium.com>
 
+       * res/res_features.c (ast_bridge_call): remove unused variables
+
        * apps/app_dial.c (dial_exec_full): simplify options and flag usage
 
        * include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API
index b973da5..50a71fd 100755 (executable)
@@ -1259,7 +1259,6 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
        struct ast_option_header *aoh;
        struct timeval start = { 0 , 0 };
        struct ast_bridge_config backup_config;
-       int allowdisconnect_in, allowdisconnect_out, allowredirect_in, allowredirect_out;
        char *monitor_exec;
 
        memset(&backup_config, 0, sizeof(backup_config));
@@ -1283,10 +1282,6 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
                        pbx_exec(peer, monitor_app, monitor_exec, 1);
        }
        
-       allowdisconnect_in = ast_test_flag(&(config->features_callee), AST_FEATURE_DISCONNECT);
-       allowdisconnect_out = ast_test_flag(&(config->features_caller), AST_FEATURE_DISCONNECT);
-       allowredirect_in = ast_test_flag(&(config->features_callee), AST_FEATURE_REDIRECT);
-       allowredirect_out = ast_test_flag(&(config->features_caller), AST_FEATURE_REDIRECT);
        set_config_flags(chan, peer, config);
        config->firstpass = 1;