lib ldb ldb_key_value: csbuild unused parm ldb_kv
[amitay/samba.git] / lib / ldb / ldb_key_value / ldb_kv_index.c
index eead0c7f56f3208d0c2001f606570aa1926cc650..a2eb570917d6fb37eb1123a32b3e8f70bdaffc0d 100644 (file)
@@ -608,7 +608,7 @@ int ldb_kv_key_dn_from_idx(struct ldb_module *module,
        }
 
        /* The ldb_key memory is allocated by the caller */
-       ret = ldb_kv_guid_to_key(ldb_kv, &list->dn[index], ldb_key);
+       ret = ldb_kv_guid_to_key(&list->dn[index], ldb_key);
        TALLOC_FREE(list);
 
        if (ret != LDB_SUCCESS) {