From dc2bc17c7bbe3188cfb0c695dc472b39bcf0b27a Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 15 Apr 2010 13:50:27 +0800 Subject: [JOBS] Fix for job control off warning There seems to be a problem with the new version of dash with job control off. I can't tell if it is just a warning or is a manifest bug. usr/dash/trap.c: In function `exitshell': usr/dash/trap.c:376: warning: suggest braces around empty body in an `if' statement Signed-off-by: Herbert Xu --- src/jobs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jobs.h') diff --git a/src/jobs.h b/src/jobs.h index 26e421d..9c095ea 100644 --- a/src/jobs.h +++ b/src/jobs.h @@ -105,5 +105,5 @@ int waitforjob(struct job *); int stoppedjobs(void); #if ! JOBS -#define setjobctl(on) /* do nothing */ +#define setjobctl(on) ((void)(on)) /* do nothing */ #endif -- cgit 1.4.1