WARNS=6 chocked on unitialized variable.
This commit is contained in:
parent
63e89c05d2
commit
d189165b4f
@ -140,7 +140,7 @@ parallel(char **argv)
|
||||
LIST *head, *tmp;
|
||||
int opencnt, output;
|
||||
|
||||
for (cnt = 0, head = NULL; (p = *argv); ++argv, ++cnt) {
|
||||
for (cnt = 0, head = tmp = NULL; (p = *argv); ++argv, ++cnt) {
|
||||
if ((lp = malloc(sizeof(LIST))) == NULL)
|
||||
err(1, NULL);
|
||||
if (p[0] == '-' && !p[1])
|
||||
|
Loading…
Reference in New Issue
Block a user