Initialise mis.next to NULL
Probably not needed, but safer. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
This commit is contained in:
parent
891d299451
commit
92919398cc
1
config.c
1
config.c
|
@ -274,6 +274,7 @@ void arrayline(char *line)
|
||||||
mis.devname = NULL;
|
mis.devname = NULL;
|
||||||
mis.spare_group = NULL;
|
mis.spare_group = NULL;
|
||||||
mis.autof = 0;
|
mis.autof = 0;
|
||||||
|
mis.next = NULL;
|
||||||
|
|
||||||
for (w=dl_next(line); w!=line; w=dl_next(w)) {
|
for (w=dl_next(line); w!=line; w=dl_next(w)) {
|
||||||
if (w[0] == '/') {
|
if (w[0] == '/') {
|
||||||
|
|
Loading…
Reference in New Issue