From fcb47f5ea91d497a3921cf5617e30da50638deab Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 17 Jan 2008 10:30:56 +0100 Subject: Comment out unused reg_create_path() and reg_delete_path(). These functions are unused. Comment them out for now. Michael (This used to be commit 0cb8399d7c6f228b38c918f8c6c77fd31c346f89) --- source3/registry/reg_api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/registry/reg_api.c') 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 */ -- cgit