]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
config_options.c: Expand #ifdef to contain whole if statement. 75/2775/1
authorChris Trobridge <christ.trobridge@ultra-aep.com>
Wed, 4 May 2016 08:17:26 +0000 (09:17 +0100)
committerChris Trobridge <chris.trobridge@ultra-aep.com>
Fri, 6 May 2016 09:28:58 +0000 (04:28 -0500)
ASTERISK-25956 #close

Change-Id: If6961ec54be276d5ab4f012ee7e7b420cb45de38

main/config_options.c

index db99a441d995359c2015ec8d40ab54644e1133d3..c8988c984f618b559767b9eed1c7a77f60b9589c 100644 (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);