summaryrefslogtreecommitdiff
path: root/source3/registry/reg_api.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-17 10:30:56 +0100
committerMichael Adam <obnox@samba.org>2008-01-17 16:25:11 +0100
commitfcb47f5ea91d497a3921cf5617e30da50638deab (patch)
treeb930a42cbd75e965f6d2a0cc23984a80be567d5a /source3/registry/reg_api.c
parent99b195a6aa39bdf3f327fe1c7b1295032c3c3caa (diff)
downloadsamba-fcb47f5ea91d497a3921cf5617e30da50638deab.tar.gz
samba-fcb47f5ea91d497a3921cf5617e30da50638deab.tar.bz2
samba-fcb47f5ea91d497a3921cf5617e30da50638deab.zip
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)
Diffstat (limited to 'source3/registry/reg_api.c')
-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 */