Skip to content
Snippets Groups Projects
Commit dd00c71a authored by Chris Trobridge's avatar Chris Trobridge Committed by Chris Trobridge
Browse files

config_options.c: Expand #ifdef to contain whole if statement.

ASTERISK-25956 #close

Change-Id: If6961ec54be276d5ab4f012ee7e7b420cb45de38
parent 3fd81133
No related branches found
No related tags found
No related merge requests found
...@@ -197,9 +197,9 @@ static int link_option_to_types(struct aco_info *info, struct aco_type **types, ...@@ -197,9 +197,9 @@ static int link_option_to_types(struct aco_info *info, struct aco_type **types,
xmldoc_update_config_option(types, info->module, opt->name, type->name, opt->default_val, opt->match_type == ACO_REGEX, opt->type)) { xmldoc_update_config_option(types, info->module, opt->name, type->name, opt->default_val, opt->match_type == ACO_REGEX, opt->type)) {
#ifdef AST_DEVMODE #ifdef AST_DEVMODE
opt->doc_unavailable = 1; opt->doc_unavailable = 1;
#endif
#endif #endif
} }
#endif
} }
/* The container(s) should hold the only ref to opt */ /* The container(s) should hold the only ref to opt */
ao2_ref(opt, -1); ao2_ref(opt, -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment