summaryrefslogtreecommitdiffstats
path: root/source/registry
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-02 10:51:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:19 -0500
commitdc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac (patch)
tree799f990f20dc4d51a63527a261c6e039e3ff8f07 /source/registry
parentde053583510999658b2969b244b43ae85fb87737 (diff)
downloadsamba-dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac.tar.gz
samba-dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac.tar.xz
samba-dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac.zip
r20004: Remove a const, "name" is allocated anyway
Diffstat (limited to 'source/registry')
-rw-r--r--source/registry/reg_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/registry/reg_api.c b/source/registry/reg_api.c
index 672e69c6c7d..907d0236c70 100644
--- a/source/registry/reg_api.c
+++ b/source/registry/reg_api.c
@@ -168,8 +168,7 @@ WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
}
WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
- uint32 idx, const char **pname,
- struct registry_value **pval)
+ uint32 idx, char **pname, struct registry_value **pval)
{
struct registry_value *val;
WERROR err;