From eb6f27eccc089899205f777a710e43ed6ea314d9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 09:41:10 +0000 Subject: r17778: fix compiler warnings metze (This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8) --- source4/lib/ldb/common/ldb_modules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/lib/ldb/common/ldb_modules.c') diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index cfb84e446f..054a830bfb 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -135,6 +135,8 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name) return NULL; } +#ifndef STATIC_ldb_MODULES + #ifdef HAVE_LDAP #define LDAP_INIT ldb_ldap_init, #else @@ -147,7 +149,6 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name) #define SQLITE3_INIT #endif -#ifndef STATIC_ldb_MODULES #define STATIC_ldb_MODULES \ { \ LDAP_INIT \ -- cgit