git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1529c3
)
s3/loadparm: Fix severe HPUX compiler issue.
author
Olaf Flebbe
<o.flebbe@science-computing.de>
Tue, 13 Oct 2009 12:13:06 +0000
(14:13 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 13 Oct 2009 16:40:43 +0000
(18:40 +0200)
Members of struct should be initialized explictly.
Fixes bug #6804.
(cherry picked from commit
5ec557d9f6137dc96b2c099fb13726e6552fb1fe
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 7bac72ebd3e32311f14481ba233cd4a6dadbfe74..fa0577ba967015ebca320b8e43bdd745080b19f0 100644
(file)
--- 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,
},