git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da34441
)
NO... ldb: Fix a compiler warning issue
author
Matthieu Patou
<mat@matws.net>
Wed, 26 Dec 2012 18:21:23 +0000
(10:21 -0800)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 29 Jan 2013 21:03:14 +0000
(22:03 +0100)
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.
lib/ldb/common/ldb_modules.c
patch
|
blob
|
history
diff --git
a/lib/ldb/common/ldb_modules.c
b/lib/ldb/common/ldb_modules.c
index 440365688bbb45f243e6b508e52402a0574924b8..ec1340c5dd78b673db91fa980272653009b3956b 100644
(file)
--- 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;