summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-01 11:41:44 +0100
committerGünther Deschner <gd@samba.org>2007-12-02 23:39:12 +0100
commitb1a924a0fb7f9f55c655b1b2b31a9dc66ee0478a (patch)
tree176c2a12ad9c70eae6c10434c62c4219963d3a34 /source3/lib/netapi
parenta2366187ad4e1308c8885ee6f928c747596a6c67 (diff)
downloadsamba-b1a924a0fb7f9f55c655b1b2b31a9dc66ee0478a.tar.gz
samba-b1a924a0fb7f9f55c655b1b2b31a9dc66ee0478a.tar.bz2
samba-b1a924a0fb7f9f55c655b1b2b31a9dc66ee0478a.zip
Fix some bogus uninitialized variable warnings
(This used to be commit 48a162b709cc14632fd02c4cd40aa8cfafc53324)
Diffstat (limited to 'source3/lib/netapi')
-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);