diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-24 09:41:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:40 -0500 |
commit | eb6f27eccc089899205f777a710e43ed6ea314d9 (patch) | |
tree | 3963ed9b8e990bf3a59709c672017ab915f0831d /source4/lib | |
parent | 12e2e43ca3fe6eaee1f1f440ff1ef21110ad32a7 (diff) | |
download | samba-eb6f27eccc089899205f777a710e43ed6ea314d9.tar.gz samba-eb6f27eccc089899205f777a710e43ed6ea314d9.tar.bz2 samba-eb6f27eccc089899205f777a710e43ed6ea314d9.zip |
r17778: fix compiler warnings
metze
(This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |