summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-20 17:58:09 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-20 17:58:09 +0000
commit89c68c1bc3624e756533c9d16794402c29d71321 (patch)
tree7a4d388f48466fc28424c8c855ed8bb3bfcc05cb
parent1ceb135b6c70272518f3d3ee54a651e204085e4c (diff)
downloadsamba-89c68c1bc3624e756533c9d16794402c29d71321.tar.gz
samba-89c68c1bc3624e756533c9d16794402c29d71321.tar.bz2
samba-89c68c1bc3624e756533c9d16794402c29d71321.zip
Remove unused variables
(This used to be commit 20f1765c32b2dd048e1572cd1b1e490459f7d5dc)
-rw-r--r--source3/torture/vfstest.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index b8773d5785..0cdff84ed4 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -207,7 +207,8 @@ static NTSTATUS cmd_freemem(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc
talloc_destroy(global_ctx);
global_ctx = NULL;
vfs->data = NULL;
- vfs->data_size = NULL;
+ vfs->data_size = 0;
+ return NT_STATUS_OK;
}
static NTSTATUS cmd_quit(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, char **argv)
@@ -420,27 +421,13 @@ static void usage(void)
int main(int argc, char *argv[])
{
- extern pstring global_myname;
- static int got_pass = 0;
BOOL interactive = True;
int opt;
- int olddebug;
static char *cmdstr = "";
- const char *server;
- struct cli_state *cli;
- fstring password="",
- username="",
- domain="";
- static char *opt_authfile=NULL,
- *opt_username=NULL,
- *opt_domain=NULL,
- *opt_configfile=NULL,
- *opt_logfile=NULL;
+ static char *opt_logfile=NULL;
static int opt_debuglevel;
pstring logfile;
struct cmd_set **cmd_set;
- struct in_addr server_ip;
- NTSTATUS nt_status;
extern BOOL AllowDebugChange;
static struct vfs_state vfs;
int i;