summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
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 /source3/lib/netapi
parent18d3b85c4061d5c747da8333cf2711452185bb47 (diff)
downloadsamba-04c101e873bd758fae6b7131551f6069ab2fcce3.tar.gz
samba-04c101e873bd758fae6b7131551f6069ab2fcce3.tar.bz2
samba-04c101e873bd758fae6b7131551f6069ab2fcce3.zip
s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
Guenther
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/serverinfo.c2
1 files changed, 1 insertions, 1 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;