summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-22 00:12:59 +0100
committerGünther Deschner <gd@samba.org>2007-12-22 00:13:24 +0100
commit30a788bd2027648de1a1bc0922f40c1c00b727bd (patch)
treeaad975c4d397b08c0458feddd603c04db008521c /source3/libnet
parent86dfb55ffb99abf6fc61a91e58477790395abe38 (diff)
downloadsamba-30a788bd2027648de1a1bc0922f40c1c00b727bd.tar.gz
samba-30a788bd2027648de1a1bc0922f40c1c00b727bd.tar.bz2
samba-30a788bd2027648de1a1bc0922f40c1c00b727bd.zip
Fix uninitialized error code in do_unjoin_modify_vals_config().
Guenther (This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index c1ff8bb052..2994c3f59d 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -390,7 +390,7 @@ static WERROR do_unjoin_modify_vals_config(TALLOC_CTX *mem_ctx,
struct libnet_UnjoinCtx *r,
struct registry_key *key)
{
- WERROR werr;
+ WERROR werr = WERR_OK;
if (r->in.unjoin_flags & WKSSVC_JOIN_FLAGS_JOIN_TYPE) {