From: Matthieu Patou Date: Wed, 26 Dec 2012 18:21:23 +0000 (-0800) Subject: NO... ldb: Fix a compiler warning issue X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=63d95d353e9470c0783fd540e557342bfdcd2fa6;hp=da34441add7e93674560f785e97fea48c2bba954;p=metze%2Fsamba%2Fwip.git NO... ldb: Fix a compiler warning issue STATIC_ldb_MODULES_PROTO is defined on the compilation command line by -DSTATIC_ldb_MODULES_PROTO which the compiler seems to turn into define STATIC_ldb_MODULES_PROTO 1 thus yielding a warning. --- diff --git a/lib/ldb/common/ldb_modules.c b/lib/ldb/common/ldb_modules.c index 440365688bbb..ec1340c5dd78 100644 --- a/lib/ldb/common/ldb_modules.c +++ b/lib/ldb/common/ldb_modules.c @@ -1040,7 +1040,6 @@ static int ldb_modules_load_static(const char *version) { static bool initialised; #define _MODULE_PROTO(init) extern int init(const char *); - STATIC_ldb_MODULES_PROTO; const ldb_module_init_fn static_init_functions[] = { STATIC_ldb_MODULES }; unsigned i;