summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
author"Robert P. J. Day"2006-07-18 12:05:43 +0000
committer"Robert P. J. Day"2006-07-18 12:05:43 +0000
commit3e4da920bd114b87fcfd6ff0c0bc1b5e880766f9 (patch)
tree14865eba3676bb40160fc90c75f5db00c0cc74a1 /shell
parentfc2aea1a76d0d312405aac691daedcf849ae78ed (diff)
downloadbusybox-3e4da920bd114b87fcfd6ff0c0bc1b5e880766f9.zip
busybox-3e4da920bd114b87fcfd6ff0c0bc1b5e880766f9.tar.gz
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 6b6c54f..fedb784 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;