For now, get around the error that "child" might be uninitialized.
author"Robert P. J. Day" <rpjday@mindspring.com>
Tue, 18 Jul 2006 12:05:43 +0000 (12:05 -0000)
committer"Robert P. J. Day" <rpjday@mindspring.com>
Tue, 18 Jul 2006 12:05:43 +0000 (12:05 -0000)
shell/hush.c

index 6b6c54f..fedb784 100644 (file)
@@ -1284,7 +1284,7 @@ static int run_pipe_real(struct pipe *pi)
        int i;
        int nextin, nextout;
        int pipefds[2];                         /* pipefds[0] is for reading */
-       struct child_prog *child;
+       struct child_prog *child = NULL;
        const struct built_in_command *x;
        char *p;