Comment out unused reg_create_path() and reg_delete_path().
authorMichael Adam <obnox@samba.org>
Thu, 17 Jan 2008 09:30:56 +0000 (10:30 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 17 Jan 2008 15:25:11 +0000 (16:25 +0100)
These functions are unused. Comment them out for now.

Michael
(This used to be commit 0cb8399d7c6f228b38c918f8c6c77fd31c346f89)

source3/registry/reg_api.c

index 83c5f1a634c6bed6ce993dce5178ada81a2613ba..ee138b284d0bfd96f56b625c75bcd5769739d4a1 100644 (file)
@@ -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 */