s3/loadparm: Fix severe HPUX compiler issue.
authorOlaf Flebbe <o.flebbe@science-computing.de>
Tue, 13 Oct 2009 12:13:06 +0000 (14:13 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:39:15 +0000 (11:39 +0100)
Members of struct should be initialized explictly.
Fixes bug #6804.
(cherry picked from commit 5ec557d9f6137dc96b2c099fb13726e6552fb1fe)
(cherry picked from commit 4c7d2aa2da9935248ee772d574f5225bbb9afd5d)

source3/param/loadparm.c

index 7bac72ebd3e32311f14481ba233cd4a6dadbfe74..fa0577ba967015ebca320b8e43bdd745080b19f0 100644 (file)
@@ -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,
        },