diff options
author | Volker Lendecke <vl@samba.org> | 2018-11-01 12:09:14 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-11-06 13:44:37 +0100 |
commit | b51ef80a7aa289d6b42c481640d823284b83e67d (patch) | |
tree | bc262919e0555d071428ffde18f1d575f3d46f7a /source4 | |
parent | 0eebb6e0a47a53709b7a8ec67bd97dae7b1fd53e (diff) | |
download | samba-b51ef80a7aa289d6b42c481640d823284b83e67d.tar.gz |
torture: Fix the clang build
It's used uninitialized if an early torture_assert fails
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13646
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov 1 17:34:31 CET 2018 on sn-devel-144
(cherry picked from commit 9b28d47b0d86570be5a7c5628e460e01207afb00)
Autobuild-User(v4-8-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-8-test): Tue Nov 6 13:44:37 CET 2018 on sn-devel-144
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/vfs/fruit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 66cd0b6d4b9..1232aaec92a 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; |