WARNS=6 chocked on unitialized variable.

This commit is contained in:
charnier 2006-09-12 05:08:36 +00:00
parent 63e89c05d2
commit d189165b4f

View File

@ -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])