1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

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
This commit is contained in:
Volker Lendecke 2018-11-01 12:09:14 +01:00 committed by Karolin Seeger
parent 0eebb6e0a4
commit b51ef80a7a

View File

@ -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;