summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/registry/reg_backend_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb.c
index fc01de61a5..5f4e296edf 100644
--- a/source4/lib/registry/reg_backend_ldb.c
+++ b/source4/lib/registry/reg_backend_ldb.c
@@ -99,7 +99,7 @@ static int reg_close_ldb_key (void *data)
{
struct registry_key *key = data;
struct ldb_key_data *kd = key->backend_data;
- struct ldb_context *c = key->hive->backend_data;
+/* struct ldb_context *c = key->hive->backend_data; */
if (kd->subkeys) {
talloc_free(kd->subkeys);