]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
config_options.c: Expand #ifdef to contain whole if statement. 57/2757/2
authorChris Trobridge <christ.trobridge@ultra-aep.com>
Wed, 4 May 2016 08:17:26 +0000 (09:17 +0100)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 5 May 2016 03:19:57 +0000 (22:19 -0500)
ASTERISK-25956 #close

Change-Id: If6961ec54be276d5ab4f012ee7e7b420cb45de38

main/config_options.c

index e59e5cf7afcd71883f93ec68d803da0bab93e9db..c58dfdd868636d4bdb39244c33f180855b90af1e 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);