diff options
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | res/res_features.c | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -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 diff --git a/res/res_features.c b/res/res_features.c index b973da595..50a71fde1 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -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; |