r3323: more warning reductions
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / reg_backend_ldb / reg_backend_ldb.c
index d76b7715dad8e2640ad5a5946395c1b4469bd05e..faa8a5e62c90b866f7fe2c4c4827c445338392d7 100644 (file)
@@ -57,12 +57,6 @@ static char *reg_path_to_ldb(TALLOC_CTX *mem_ctx, const char *path, const char *
 }
 
 
-static int ldb_close_registry(void *data) 
-{
-       ldb_close((struct ldb_context *)data);
-       return 0;
-}
-
 static WERROR ldb_get_subkey_by_id(TALLOC_CTX *mem_ctx, struct registry_key *k, int idx, struct registry_key **subkey)
 {
        struct ldb_context *c = k->hive->backend_data;