diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index b81efd61d3..a833342afe 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -2453,10 +2453,10 @@ static const char *util_ldap_set_debug_level(cmd_parms *cmd, #ifndef AP_LDAP_OPT_DEBUG return "This directive is not supported with the currently linked LDAP library"; -#endif - +#else st->debug_level = atoi(arg); return NULL; +#endif } static const char *util_ldap_set_referral_hop_limit(cmd_parms *cmd, diff --git a/server/config.c b/server/config.c index 49ae4f51f8..8f78f1f4ce 100644 --- a/server/config.c +++ b/server/config.c @@ -1969,10 +1969,7 @@ AP_DECLARE(const char *) ap_process_fnmatch_configs(server_rec *s, /* walk the filepath */ return process_resource_config_fnmatch(s, rootpath, filepath, conftree, p, ptemp, 0, optional); - } - - return NULL; } AP_DECLARE(int) ap_process_config_tree(server_rec *s,