smbXsrv_open.c: Initialize local variable.
authorChristopher R. Hertel (crh) <crh@samba.org>
Wed, 12 Feb 2014 20:08:12 +0000 (14:08 -0600)
committerMichael Adam <obnox@samba.org>
Wed, 12 Feb 2014 22:57:05 +0000 (23:57 +0100)
commit9abf1623ed2384d529ef3a2442a55fb293dee8b0
treeece6f0bb78d74fac21223447bc84c18d94e437a4
parent69594dfb8cfa35612ff9ce96f9669d7ed94ad578
smbXsrv_open.c: Initialize local variable.

Coverity fix.  Initialize status to NT_STATUS_OK.  Otherwise, there are
code paths that would cause the smbXsrv_open_cleanup() function to
return an uninitialized value.

Cov: 1168008

Signed-off-by: Christopher R. Hertel (crh) <crh@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Feb 12 23:57:05 CET 2014 on sn-devel-104
source3/smbd/smbXsrv_open.c