From: Volker Lendecke Date: Thu, 1 Nov 2018 11:09:14 +0000 (+0100) Subject: torture: Fix the clang build X-Git-Tag: tdb-1.3.17~989 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b28d47b0d86570be5a7c5628e460e01207afb00;p=thirdparty%2Fsamba.git torture: Fix the clang build It's used uninitialized if an early torture_assert fails Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Nov 1 17:34:31 CET 2018 on sn-devel-144 --- diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 6dd96853a38..6bdcae6c877 100644 --- a/source4/torture/vfs/fruit.c +++ b/source4/torture/vfs/fruit.c @@ -5461,7 +5461,7 @@ static bool test_empty_stream_do_one( { bool ret = false; NTSTATUS status; - struct smb2_handle baseh; + struct smb2_handle baseh = {{0}}; struct smb2_handle streamh; struct smb2_create create; union smb_setfileinfo sfinfo;