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

This commit is contained in:
zuul
2016-05-06 06:14:40 -05:00
committed by Gerrit Code Review

View File

@@ -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)) {
#ifdef AST_DEVMODE
opt->doc_unavailable = 1;
#endif
#endif
}
#endif
}
/* The container(s) should hold the only ref to opt */
ao2_ref(opt, -1);