git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38c8da
)
ldb: Fix an unused variable warning
author
Volker Lendecke
<vl@samba.org>
Mon, 21 Nov 2016 20:41:51 +0000
(21:41 +0100)
committer
Ralph Boehme
<slow@samba.org>
Wed, 30 Nov 2016 19:36:24 +0000
(20:36 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
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 0c740afaeb5bdf702b60868173ac14e22b5117ea..62f20af1920befb6427c539fc5598218b0bc4dc4 100644
(file)
--- a/
lib/ldb/common/ldb_modules.c
+++ b/
lib/ldb/common/ldb_modules.c
@@
-901,7
+901,10
@@
static int ldb_modules_load_path(const char *path, const char *version)
} *loaded;
struct loaded *le;
int dlopen_flags;
+
+#ifdef RTLD_DEEPBIND
bool deepbind_enabled = (getenv("LDB_MODULES_DISABLE_DEEPBIND") == NULL);
+#endif
ret = stat(path, &st);
if (ret != 0) {