summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-14 16:51:07 +0200
committerGünther Deschner <gd@samba.org>2011-10-14 19:25:47 +0200
commitaf82bf2ac574b17cd2f7442f13928848d7d5a1e3 (patch)
treea075db2c0b194eb6eb0e536f491e9eaf8d6d4463
parentd810ada39c584fd2a543f41fb3a121520ab0764e (diff)
downloadsamba-af82bf2ac574b17cd2f7442f13928848d7d5a1e3.tar.gz
samba-af82bf2ac574b17cd2f7442f13928848d7d5a1e3.tar.bz2
samba-af82bf2ac574b17cd2f7442f13928848d7d5a1e3.zip
s3-net: Fix uninitialized variable in rpc_conf_import_internal().
Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 14 19:25:47 CEST 2011 on sn-devel-104
-rw-r--r--source3/utils/net_rpc_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 3dec375f1b..68d5df2edf 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1146,7 +1146,7 @@ static NTSTATUS rpc_conf_import_internal(struct net_context *c,
struct smbconf_service *service = NULL;
struct smbconf_service **services = NULL;
uint32_t num_shares, i;
- sbcErr err;
+ sbcErr err = SBC_ERR_UNKNOWN_FAILURE;
WERROR werr = WERR_OK;
NTSTATUS status = NT_STATUS_OK;