From b1a924a0fb7f9f55c655b1b2b31a9dc66ee0478a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Dec 2007 11:41:44 +0100 Subject: Fix some bogus uninitialized variable warnings (This used to be commit 48a162b709cc14632fd02c4cd40aa8cfafc53324) --- source3/lib/netapi/joindomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/netapi') 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); -- cgit