diff options
author | Tim Potter <tpot@samba.org> | 2005-05-09 02:28:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:33 -0500 |
commit | 1838812454145f2c54321dddb218849f89eb60eb (patch) | |
tree | 93f652d5a466127630e20a0ee2da73c5067f67bb /source4/torture/libnet | |
parent | 8797d0e29b4c4b2ee19fd7c17c9803fbd4a4d25f (diff) | |
download | samba-1838812454145f2c54321dddb218849f89eb60eb.tar.gz samba-1838812454145f2c54321dddb218849f89eb60eb.tar.xz samba-1838812454145f2c54321dddb218849f89eb60eb.zip |
r6674: Fix some compiler warnings.
(This used to be commit c2c563bf985a8fdd28beacb3dbdf650c11af2fa7)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r-- | source4/torture/libnet/userman.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index c4c63088c60..6add4223202 100644 --- a/source4/torture/libnet/userman.c +++ b/source4/torture/libnet/userman.c @@ -157,7 +157,7 @@ static BOOL test_createuser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle, const char* user) { NTSTATUS status; - struct policy_handle h, domain_handle, user_handle; + struct policy_handle user_handle; struct samr_String username; struct samr_CreateUser r1; struct samr_Close r2; @@ -214,7 +214,6 @@ static BOOL test_userdel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle, const char *username) { NTSTATUS status; - BOOL ret = False; struct rpc_composite_userdel user; user.in.domain_handle = *handle; @@ -235,7 +234,6 @@ BOOL torture_useradd(void) NTSTATUS status; const char *binding; struct dcerpc_pipe *p; - struct dcerpc_binding *b; struct policy_handle h; struct samr_String domain_name; char* name = TEST_USERNAME; @@ -282,7 +280,6 @@ BOOL torture_userdel(void) NTSTATUS status; const char *binding; struct dcerpc_pipe *p; - struct dcerpc_binding *b; struct policy_handle h; struct samr_String domain_name; char* name = TEST_USERNAME; |