From 958186df2a79c42ddb101059d5f1871327ad4088 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Jan 2009 21:52:54 +0100 Subject: [PATCH 1/1] Fix compilation, remove unused variables. --- source4/torture/rpc/samr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index b1ebe30e3df..8af98675288 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 @@ -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: -- 2.25.1