[PATCH] ldb: Fix an unused variable warning
Volker Lendecke
vl at samba.org
Wed Nov 30 16:18:56 UTC 2016
Hi!
Review appreciated!
Thanks, Volker
-------------- next part --------------
>From a8c1f4342574bd74e20036d1324e932c946ff38d Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 21 Nov 2016 21:41:51 +0100
Subject: [PATCH] ldb: Fix an unused variable warning
Signed-off-by: Volker Lendecke <vl at samba.org>
---
lib/ldb/common/ldb_modules.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/ldb/common/ldb_modules.c b/lib/ldb/common/ldb_modules.c
index 0c740af..62f20af 100644
--- 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) {
--
2.1.4
More information about the samba-technical
mailing list