aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/sh.c b/toys/pending/sh.c
index b4df9974..f3d0610a 100644
--- a/toys/pending/sh.c
+++ b/toys/pending/sh.c
@@ -2973,7 +2973,7 @@ char *show_job(struct sh_process *pp, char dash)
// Wait for pid to exit and remove from jobs table, returning process or 0.
struct sh_process *wait_job(int pid, int nohang)
{
- struct sh_process *pp;
+ struct sh_process *pp = pp;
int ii, status, minus, plus;
if (TT.jobs.c<1) return 0;