summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-13 07:46:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:54 -0500
commit70490aae0ca36608e4b230a03faa4d8aba36d91d (patch)
tree433ec401e23a82124556c171a7c9843b51e4f2d2 /source3/utils
parentec495efbf161092bfd7e6d76c32b34411e2617c0 (diff)
downloadsamba-70490aae0ca36608e4b230a03faa4d8aba36d91d.tar.gz
samba-70490aae0ca36608e4b230a03faa4d8aba36d91d.tar.bz2
samba-70490aae0ca36608e4b230a03faa4d8aba36d91d.zip
r6769: Fix bugzilla #2538 and #2527. Unused variables found by Jason Mader.
(This used to be commit 68b1c1f533e5c91634f5da21659c8e5793cb77f7)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_join.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index ed196de6c1..2f2393ca7a 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -48,7 +48,6 @@ static int net_rpc_join_ok(const char *domain)
uchar stored_md4_trust_password[16];
int retval = 1;
uint32 channel;
- NTSTATUS result;
/* Connect to remote machine */
if (!(cli = net_make_ipc_connection(NET_FLAGS_ANONYMOUS | NET_FLAGS_PDC))) {
@@ -69,7 +68,7 @@ static int net_rpc_join_ok(const char *domain)
/* ensure that schannel uses the right domain */
fstrcpy(cli->domain, domain);
- if (! NT_STATUS_IS_OK(result = cli_nt_establish_netlogon(cli, channel, stored_md4_trust_password))) {
+ if (! NT_STATUS_IS_OK(cli_nt_establish_netlogon(cli, channel, stored_md4_trust_password))) {
DEBUG(0,("Error in domain join verfication (fresh connection)\n"));
goto done;
}