summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-13 00:15:41 +0200
committerGünther Deschner <gd@samba.org>2011-05-13 00:18:49 +0200
commit04c101e873bd758fae6b7131551f6069ab2fcce3 (patch)
tree5761991b3fb2b5b4e77a01df26e3965d242c452b
parent18d3b85c4061d5c747da8333cf2711452185bb47 (diff)
downloadsamba-04c101e873bd758fae6b7131551f6069ab2fcce3.tar.gz
samba-04c101e873bd758fae6b7131551f6069ab2fcce3.tar.bz2
samba-04c101e873bd758fae6b7131551f6069ab2fcce3.zip
s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
Guenther
-rw-r--r--source3/lib/netapi/serverinfo.c2
-rw-r--r--source3/libnet/libnet_join.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index f321648f24..8f76b4a63e 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -540,7 +540,7 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx,
static WERROR NetServerSetInfo_l_1005(struct libnetapi_ctx *ctx,
struct NetServerSetInfo *r)
{
- WERROR werr;
+ WERROR werr = WERR_OK;
sbcErr err;
struct smbconf_ctx *conf_ctx;
struct srvsvc_NetSrvInfo1005 *info1005;
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 2b06be5dc1..747e1aaadd 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1455,7 +1455,7 @@ done:
static WERROR do_join_modify_vals_config(struct libnet_JoinCtx *r)
{
- WERROR werr;
+ WERROR werr = WERR_OK;
sbcErr err;
struct smbconf_ctx *ctx;