aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-12 06:52:45 +0000
committerRob Landley <rob@landley.net>2005-12-12 06:52:45 +0000
commit032e2cbf20bd54a7b5ded482ed1ba9d3deb574f9 (patch)
treec9026a2111195507c24859f6ad9b77bdda0553a9 /shell/hush.c
parentcdbae77823d82ad0451007f1b192f782c33f2764 (diff)
downloadbusybox-032e2cbf20bd54a7b5ded482ed1ba9d3deb574f9.tar.gz
Uninitialized variable causing intermittent syntax errors (bug 449).
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index ffc4685d6..e83d49a86 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2007,6 +2007,7 @@ static struct pipe *new_pipe(void) {
pi->progs = NULL;
pi->next = NULL;
pi->followup = 0; /* invalid */
+ pi->r_mode = RES_NONE;
return pi;
}