summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
author"Robert P. J. Day" <rpjday@mindspring.com>2006-07-18 12:05:43 +0000
committer"Robert P. J. Day" <rpjday@mindspring.com>2006-07-18 12:05:43 +0000
commit3e4da920bd114b87fcfd6ff0c0bc1b5e880766f9 (patch)
tree14865eba3676bb40160fc90c75f5db00c0cc74a1 /shell
parentfc2aea1a76d0d312405aac691daedcf849ae78ed (diff)
For now, get around the error that "child" might be uninitialized.
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
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;