s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
[ira/wip.git] / source3 / libnet / libnet_join.c
index 2b06be5dc130693d18a39e48097f754a2b547e33..747e1aaadd8ea41ea80b5f668bc873f996dd9dc3 100644 (file)
@@ -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;