diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-06 21:52:54 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-06 21:52:54 +0100 |
commit | 958186df2a79c42ddb101059d5f1871327ad4088 (patch) | |
tree | ee218568259659ebedff84b33e19f770b020903c | |
parent | 63e7c2fef81705afce2be7da9b7e5e1870c64f53 (diff) | |
download | samba-958186df2a79c42ddb101059d5f1871327ad4088.tar.gz samba-958186df2a79c42ddb101059d5f1871327ad4088.tar.bz2 samba-958186df2a79c42ddb101059d5f1871327ad4088.zip |
Fix compilation, remove unused variables.
-rw-r--r-- | source4/torture/rpc/samr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index b1ebe30e3d..8af9867528 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -30,6 +30,7 @@ #include "libcli/auth/libcli_auth.h" #include "libcli/security/security.h" #include "torture/rpc/rpc.h" +#include "param/param.h" #include <unistd.h> @@ -2642,7 +2643,6 @@ static bool test_SamLogon_Creds(struct dcerpc_pipe *p, struct torture_context *t uint8_t authoritative; struct netr_NetworkInfo ninfo; DATA_BLOB names_blob, chal, lm_resp, nt_resp; - int i; int flags = CLI_CRED_NTLM_AUTH; if (lp_client_lanman_auth(tctx->lp_ctx)) { @@ -2786,7 +2786,6 @@ static bool test_SetPassword_level(struct dcerpc_pipe *p, { const char *fields = NULL; bool ret = true; - struct cli_credentials *test_credentials; switch (level) { case 21: |