diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-16 01:32:54 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-16 01:32:54 +0200 |
commit | 2ef07ad551d398c39a595494aaa083a932ef79aa (patch) | |
tree | 085e479e4a43e3ef05222912f60ca79e9ee49eec /source4/lib/registry/tools | |
parent | 83c8d6cc89feeec797b9185fb967b24c9c088950 (diff) | |
download | samba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.gz samba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.bz2 samba-2ef07ad551d398c39a595494aaa083a932ef79aa.zip |
Remove unused arguments from reg_open_local().
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r-- | source4/lib/registry/tools/common.c | 2 | ||||
-rw-r--r-- | source4/lib/registry/tools/regdiff.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/common.c b/source4/lib/registry/tools/common.c index cec0f8b906..52f3c6f551 100644 --- a/source4/lib/registry/tools/common.c +++ b/source4/lib/registry/tools/common.c @@ -57,7 +57,7 @@ struct registry_key *reg_common_open_file(const char *path, return NULL; } - error = reg_open_local(NULL, &h, NULL, creds); + error = reg_open_local(NULL, &h); if (!W_ERROR_IS_OK(error)) { fprintf(stderr, "Unable to initialize local registry: %s\n", win_errstr(error)); diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c index c94380efd2..69fcfc2493 100644 --- a/source4/lib/registry/tools/regdiff.c +++ b/source4/lib/registry/tools/regdiff.c @@ -48,7 +48,7 @@ static struct registry_context *open_backend(poptContext pc, remote_host, NULL); break; case REG_NULL: - error = reg_open_local(NULL, &ctx, NULL, cmdline_credentials); + error = reg_open_local(NULL, &ctx); break; } |