1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4:torture: avoid use of uninitialized variable in error case.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Mar 23 18:40:18 CET 2015 on sn-devel-104
This commit is contained in:
Michael Adam 2015-03-23 01:55:02 +01:00
parent 1dc770ce81
commit 8de2164835

View File

@ -346,7 +346,7 @@ bool torture_unix_whoami(struct torture_context *torture)
{
struct smbcli_state *cli;
struct smb_whoami whoami;
bool ret;
bool ret = false;
struct ldb_context *ldb;
const char *addc, *host;