summaryrefslogtreecommitdiffstats
path: root/source/torture
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
commit20f1765c32b2dd048e1572cd1b1e490459f7d5dc (patch)
treedeaec4e89aa36b43404a32fe46778e4fb97e341e /source/torture
parentf9018f4560c205033d25e6294534be4b7a79f6c1 (diff)
downloadsamba-20f1765c32b2dd048e1572cd1b1e490459f7d5dc.tar.gz
samba-20f1765c32b2dd048e1572cd1b1e490459f7d5dc.tar.xz
samba-20f1765c32b2dd048e1572cd1b1e490459f7d5dc.zip
Remove unused variables
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/vfstest.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/source/torture/vfstest.c b/source/torture/vfstest.c
index b8773d5785f..0cdff84ed4d 100644
--- a/source/torture/vfstest.c
+++ b/source/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;