summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-25 23:24:28 +0000
committerJeremy Allison <jra@samba.org>1998-09-25 23:24:28 +0000
commitc9d26f921c57bb01cec77488835991fc51903116 (patch)
treef067339af75dd4052d6173765130803673f68839
parent4b9e0941b9440d25d253dab62633858c2a5117c2 (diff)
downloadsamba-c9d26f921c57bb01cec77488835991fc51903116.tar.gz
samba-c9d26f921c57bb01cec77488835991fc51903116.tar.bz2
samba-c9d26f921c57bb01cec77488835991fc51903116.zip
Fixed unused variable warning messages.
Jeremy. (This used to be commit 64ad5b4bb0f302703c9be1f76bd6211dc9871d19)
-rw-r--r--source3/rpcclient/cmd_samr.c12
-rw-r--r--source3/rpcclient/cmd_wkssvc.c2
-rw-r--r--source3/rpcclient/rpcclient.c2
3 files changed, 1 insertions, 15 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index fd7f0e14ac..6f7cdcada1 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -267,13 +267,7 @@ void cmd_sam_query_user(struct client_info *info)
DOM_SID sid1;
int user_idx;
BOOL res = True;
- BOOL request_user_info = False;
- BOOL request_group_info = False;
- uint16 num_entries = 0;
- uint16 unk_0 = 0x0;
- uint16 unk_1 = 0x0;
uint32 admin_rid = 0x304; /* absolutely no idea. */
- uint16 acb_mask = 0;
fstring rid_str ;
fstring info_str;
uint32 user_rid = 0;
@@ -442,15 +436,9 @@ void cmd_sam_enum_aliases(struct client_info *info)
fstring domain;
fstring sid;
DOM_SID sid1;
- int user_idx;
BOOL res = True;
- BOOL res2 = True;
BOOL request_user_info = False;
BOOL request_alias_info = False;
- uint16 num_entries = 0;
- uint16 unk_0 = 0x0;
- uint16 acb_mask = 0;
- uint16 unk_1 = 0x0;
uint32 admin_rid = 0x304; /* absolutely no idea. */
fstring tmp;
diff --git a/source3/rpcclient/cmd_wkssvc.c b/source3/rpcclient/cmd_wkssvc.c
index abe017d410..350aa29657 100644
--- a/source3/rpcclient/cmd_wkssvc.c
+++ b/source3/rpcclient/cmd_wkssvc.c
@@ -61,7 +61,7 @@ void cmd_wks_query_info(struct client_info *info)
info_level = strtoul(tmp, (char**)NULL, 10);
}
- DEBUG(4,("cmd_wks_query_info: server:%s info level: %D\n",
+ DEBUG(4,("cmd_wks_query_info: server:%s info level: %d\n",
dest_wks, info_level));
DEBUG(5, ("cmd_wks_query_info: smb_cli->fd:%d\n", smb_cli->fd));
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 3166046c19..a994fc27fc 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -266,7 +266,6 @@ static void do_command(struct client_info *info, char *tok, char *line)
****************************************************************************/
static BOOL process( struct client_info *info, char *cmd_str)
{
- extern FILE *dbf;
pstring line;
char *cmd = cmd_str;
@@ -407,7 +406,6 @@ enum client_action
struct client_info cli_info;
pstring password; /* local copy only, if one is entered */
- pstring tmp;
rpcclient_init();