|
|
@ -3722,14 +3722,12 @@ static int feature_interpret(struct ast_channel *chan, struct ast_channel *peer,
|
|
|
|
|
|
|
|
|
|
|
|
char dynamic_features_buf[128];
|
|
|
|
char dynamic_features_buf[128];
|
|
|
|
const char *peer_dynamic_features, *chan_dynamic_features;
|
|
|
|
const char *peer_dynamic_features, *chan_dynamic_features;
|
|
|
|
struct ast_flags features;
|
|
|
|
struct ast_flags features = { 0, };
|
|
|
|
struct ast_call_feature feature;
|
|
|
|
struct ast_call_feature feature;
|
|
|
|
if (sense == FEATURE_SENSE_CHAN) {
|
|
|
|
if (sense == FEATURE_SENSE_CHAN) {
|
|
|
|
/* Coverity - This uninit_use should be ignored since this macro initializes the flags */
|
|
|
|
|
|
|
|
ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
|
|
|
|
ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
/* Coverity - This uninit_use should be ignored since this macro initializes the flags */
|
|
|
|
|
|
|
|
ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
|
|
|
|
ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|