1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Remove incorrect const, something that was correct in commit 9c3e6249fd

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
Wilco Baan Hofman
2010-03-28 16:03:12 +02:00
committed by Jelmer Vernooij
parent 3629798f72
commit 541e2942f8

View File

@ -238,7 +238,7 @@ WERROR reg_key_del_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path) const char *path)
{ {
struct registry_key *parent; struct registry_key *parent;
const char *n; char *n;
WERROR error; WERROR error;
if (!strchr(path, '\\')) { if (!strchr(path, '\\')) {
@ -262,7 +262,7 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
struct registry_key **result) struct registry_key **result)
{ {
struct registry_key *parent; struct registry_key *parent;
const char *n; char *n;
WERROR error; WERROR error;
*result = NULL; *result = NULL;