diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2016-10-31 09:11:27 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2016-10-31 09:11:27 -0400 |
commit | 7349aa4a21cecd0c3d449c910539695720c9fbb8 (patch) | |
tree | bbfefc0ade300d30803ad9a8db31317bae75b2da | |
parent | f910e0917d12be31c05de6b3441a7680c03f299c (diff) | |
download | lighttpd-git-7349aa4a21cecd0c3d449c910539695720c9fbb8.tar.gz |
[build] fix warning for (potentially) unused funclighttpd-1.4.43
-rw-r--r-- | src/configfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configfile.c b/src/configfile.c index 0a8b0e02..7363ed68 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -25,6 +25,7 @@ #include <glob.h> +#if defined(HAVE_MYSQL) || (defined(HAVE_LDAP_H) && defined(HAVE_LBER_H) && defined(HAVE_LIBLDAP) && defined(HAVE_LIBLBER)) static void config_warn_authn_module (server *srv, const char *module) { size_t len = strlen(module); for (size_t i = 0; i < srv->config_context->used; ++i) { @@ -39,6 +40,7 @@ static void config_warn_authn_module (server *srv, const char *module) { } } } +#endif static int config_insert(server *srv) { size_t i; |