summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 83c5f1a634..ee138b284d 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -795,7 +795,10 @@ WERROR reg_deletesubkeys_recursive(TALLOC_CTX *ctx,
return reg_deletekey_recursive_internal(ctx, parent, path, false);
}
-/*
+#if 0
+/* these two functions are unused. */
+
+/**
* Utility function to create a registry key without opening the hive
* before. Assumes the hive already exists.
*/
@@ -889,3 +892,4 @@ WERROR reg_delete_path(const struct nt_user_token *token,
TALLOC_FREE(hive);
return err;
}
+#endif /* #if 0 */