From 02f4ca1079582ea6a095447a088420397cc36e45 Mon Sep 17 00:00:00 2001
From: Chris Trobridge <christ.trobridge@ultra-aep.com>
Date: Wed, 4 May 2016 09:17:26 +0100
Subject: [PATCH] config_options.c: Expand #ifdef to contain whole if
 statement.

ASTERISK-25956 #close

Change-Id: If6961ec54be276d5ab4f012ee7e7b420cb45de38
---
 main/config_options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/config_options.c b/main/config_options.c
index e59e5cf7af..c58dfdd868 100644
--- a/main/config_options.c
+++ b/main/config_options.c
@@ -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);
-- 
GitLab