diff options
author | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-18 16:05:43 +0400 |
---|---|---|
committer | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-18 16:05:43 +0400 |
commit | 3e4da920bd114b87fcfd6ff0c0bc1b5e880766f9 (patch) | |
tree | 14865eba3676bb40160fc90c75f5db00c0cc74a1 /shell | |
parent | fc2aea1a76d0d312405aac691daedcf849ae78ed (diff) |
For now, get around the error that "child" might be uninitialized.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 6b6c54f3b..fedb784e4 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -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; |