From 0e617102ef2091915e43296ef52cede1fcf173c8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 25 Feb 2007 16:56:53 +0000 Subject: r21533: try to get rid of the valgrind warnings of uninitialized memory passed to a socket metze (This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5) --- source4/torture/basic/aliases.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/basic') diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c index d8da435e2f..d90ced213a 100644 --- a/source4/torture/basic/aliases.c +++ b/source4/torture/basic/aliases.c @@ -151,6 +151,7 @@ static bool qpathinfo_aliases(struct torture_context *tctx, const char *fname = "\\qpathinfo_aliases.txt"; int fnum; + ZERO_STRUCT(t2); t2.in.max_param = 2; t2.in.max_data = smb_raw_max_trans_data(cli->tree, 2); t2.in.max_setup = 0; @@ -160,7 +161,6 @@ static bool qpathinfo_aliases(struct torture_context *tctx, t2.in.setup = &setup; t2.in.params = data_blob_talloc(tctx, NULL, 6); t2.in.data = data_blob(NULL, 0); - ZERO_STRUCT(t2.out); smbcli_unlink(cli->tree, fname); fnum = create_complex_file(cli, cli, fname); -- cgit