diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-15 09:56:43 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-16 15:20:08 +1100 |
commit | 00f86a36e076130c2c34a49b8dc820f34bf65d85 (patch) | |
tree | b77c77e274bc46f1aa9b23431792d0eda976dba8 /source3/nmbd | |
parent | dd5868d41eeaa304a471822d7783526d9f4c37f5 (diff) | |
download | samba-00f86a36e076130c2c34a49b8dc820f34bf65d85.tar.gz samba-00f86a36e076130c2c34a49b8dc820f34bf65d85.tar.xz samba-00f86a36e076130c2c34a49b8dc820f34bf65d85.zip |
s3-nmbd: Initialise newly non-static variables
Found by testing with wintest. When the variables were made non-static in
c21f6a1c6869a5086634bb830d6c3689dea539a3 the implicit initialisation to 0
was lost.
Andrew Bartlett
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 5392eb1d65..35a9a31f8a 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -725,11 +725,11 @@ static bool open_sockets(bool isdaemon, int port) int main(int argc, const char *argv[]) { - bool is_daemon; - bool opt_interactive; + bool is_daemon = false; + bool opt_interactive = false; bool Fork = true; - bool no_process_group; - bool log_stdout; + bool no_process_group = false; + bool log_stdout = false; poptContext pc; char *p_lmhosts = NULL; int opt; |