clang correctly complains that "close_fsp" is used uninitialized if
"get_posix_fsp" fails and we end up in "goto out;".
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14251
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
a8a1ca3f83dce6d725392989cbc97271cbf52f4a)
Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Mon Jan 27 10:53:50 UTC 2020 on sn-devel-184
unsigned int size_needed = 0;
NTSTATUS status;
bool ok;
- bool close_fsp;
+ bool close_fsp = false;
/*
* Ensure we always operate on a file descriptor, not just