summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-06 21:52:54 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-06 21:52:54 +0100
commit958186df2a79c42ddb101059d5f1871327ad4088 (patch)
treeee218568259659ebedff84b33e19f770b020903c /source4
parent63e7c2fef81705afce2be7da9b7e5e1870c64f53 (diff)
downloadsamba-958186df2a79c42ddb101059d5f1871327ad4088.tar.gz
samba-958186df2a79c42ddb101059d5f1871327ad4088.tar.bz2
samba-958186df2a79c42ddb101059d5f1871327ad4088.zip
Fix compilation, remove unused variables.
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samr.c3
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: