projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ebb10f
)
Avoid using non-constant initializers for struct pentry_state.
author
Sergey Poznyakoff
<gray@gnu.org.ua>
Mon, 24 Jan 2005 10:14:36 +0000
(10:14 +0000)
committer
Sergey Poznyakoff
<gray@gnu.org.ua>
Mon, 24 Jan 2005 10:14:36 +0000
(10:14 +0000)
lib/argp-help.c
patch
|
blob
|
history
diff --git
a/lib/argp-help.c
b/lib/argp-help.c
index 60357649618650101b41340e617df8635dcadae6..c506b57b0ac4dc49bafe4d9eb0266c93ecf6bf4e 100644
(file)
--- a/
lib/argp-help.c
+++ b/
lib/argp-help.c
@@
-1055,7
+1055,13
@@
hol_entry_help (struct hol_entry *entry, const struct argp_state *state,
int old_wm = __argp_fmtstream_wmargin (stream);
/* PEST is a state block holding some of our variables that we'd like to
share with helper functions. */
- struct pentry_state pest = { entry, stream, hhstate, 1, state };
+ struct pentry_state pest;
+
+ pest.entry = entry;
+ pest.stream = stream;
+ pest.hhstate = hhstate;
+ pest.first = 1;
+ pest.state = state;
if (! odoc (real))
for (opt = real, num = entry->num; num > 0; opt++, num--)