summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Flebbe <o.flebbe@science-computing.de>2009-10-13 14:13:06 +0200
committerKarolin Seeger <kseeger@samba.org>2009-10-13 18:38:39 +0200
commit5ec557d9f6137dc96b2c099fb13726e6552fb1fe (patch)
treead896a4af7c953992f9690bae85a687cc3a515bc
parent11a8a54c825a52d7dd6ab78bc7aeff2d719327d2 (diff)
downloadsamba-5ec557d9f6137dc96b2c099fb13726e6552fb1fe.tar.gz
samba-5ec557d9f6137dc96b2c099fb13726e6552fb1fe.tar.bz2
samba-5ec557d9f6137dc96b2c099fb13726e6552fb1fe.zip
s3/loadparm: Fix severe HPUX compiler issue.
Members of struct should be initialized explictly. Fixes bug #6804.
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 7bac72ebd3..fa0577ba96 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3275,6 +3275,8 @@ static struct parm_struct parm_table[] = {
.type = P_LIST,
.p_class = P_GLOBAL,
.ptr = &Globals.szInitLogonDelayedHosts,
+ .special = NULL,
+ .enum_list = NULL,
.flags = FLAG_ADVANCED,
},
@@ -3283,6 +3285,8 @@ static struct parm_struct parm_table[] = {
.type = P_INTEGER,
.p_class = P_GLOBAL,
.ptr = &Globals.InitLogonDelay,
+ .special = NULL,
+ .enum_list = NULL,
.flags = FLAG_ADVANCED,
},
@@ -3672,6 +3676,7 @@ static struct parm_struct parm_table[] = {
.type = P_ENUM,
.p_class = P_GLOBAL,
.ptr = &Globals.ldap_ref_follow,
+ .special = NULL,
.enum_list = enum_bool_auto,
.flags = FLAG_ADVANCED,
},