summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-14 05:28:09 +0000
committerTim Potter <tpot@samba.org>2003-04-14 05:28:09 +0000
commite9a4e1bb2e7da382a58c57797bcfef79ed455905 (patch)
treea38d32ba3e9116cea517fea5a455ac4997b1ed36
parent7a3a9217486ac9237b7d812bd2a5de1da10bef28 (diff)
downloadsamba-e9a4e1bb2e7da382a58c57797bcfef79ed455905.tar.gz
samba-e9a4e1bb2e7da382a58c57797bcfef79ed455905.tar.bz2
samba-e9a4e1bb2e7da382a58c57797bcfef79ed455905.zip
Merge: remove unused variables.
(This used to be commit dfa9412da567d2477ee5b1e6ecdc96b8dea3c21d)
-rw-r--r--source3/rpc_client/cli_pipe.c2
-rw-r--r--source3/utils/net_rpc_samsync.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index c4a9b37127..93c6b98bc3 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1016,8 +1016,6 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num,
static const uchar netsec_sig[8] = NETSEC_SIGNATURE;
static const uchar nullbytes[8] = { 0,0,0,0,0,0,0,0 };
uchar sign[8];
- BOOL ret;
- int i;
prs_struct netsec_blob;
memset(sign, 0, sizeof(sign));
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 0b78cd54ce..b886119eef 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -195,12 +195,9 @@ static void dump_database(struct cli_state *cli, unsigned db_type, DOM_CRED *ret
/* dump sam database via samsync rpc calls */
int rpc_samdump(int argc, const char **argv)
{
- NTSTATUS result;
struct cli_state *cli = NULL;
uchar trust_password[16];
DOM_CRED ret_creds;
- uint32 neg_flags = 0x000001ff;
-
ZERO_STRUCT(ret_creds);