summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/netapi/joindomain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index e0986ce364..f6944e4b1f 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -36,7 +36,7 @@ WERROR NetJoinDomain(const char *server_name,
struct wkssvc_PasswordBuffer encrypted_password;
NTSTATUS status;
WERROR werr;
- unsigned int old_timeout;
+ unsigned int old_timeout = 0;
ZERO_STRUCT(encrypted_password);
@@ -118,7 +118,7 @@ WERROR NetUnjoinDomain(const char *server_name,
struct wkssvc_PasswordBuffer encrypted_password;
NTSTATUS status;
WERROR werr;
- unsigned int old_timeout;
+ unsigned int old_timeout = 0;
ZERO_STRUCT(encrypted_password);