WARNS=6 chocked on unitialized variable.

This commit is contained in:
Philippe Charnier 2006-09-12 05:08:36 +00:00
parent d94f2a68f8
commit b2eeeae049
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162239

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