mirror of
https://github.com/mirror/make.git
synced 2025-03-03 14:20:54 +08:00
* job.c (child_execute_job): [SV 49938] Avoid spurious GCC warning.
This commit is contained in:
parent
bee153c762
commit
a359e32eb5
6
job.c
6
job.c
@ -2121,11 +2121,11 @@ child_execute_job (struct output *out, int good_stdin, char **argv, char **envp)
|
||||
int
|
||||
child_execute_job (struct output *out, int good_stdin, char **argv, char **envp)
|
||||
{
|
||||
int r;
|
||||
int pid;
|
||||
int fdin = good_stdin ? FD_STDIN : get_bad_stdin ();
|
||||
const int fdin = good_stdin ? FD_STDIN : get_bad_stdin ();
|
||||
int fdout = FD_STDOUT;
|
||||
int fderr = FD_STDERR;
|
||||
int r;
|
||||
int pid;
|
||||
|
||||
/* Divert child output if we want to capture it. */
|
||||
if (out && out->syncout)
|
||||
|
Loading…
Reference in New Issue
Block a user