mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-01-18 11:27:37 +00:00
* job.c (child_execute_job): [SV 49938] Avoid spurious GCC warning.
This commit is contained in:
parent
bee153c762
commit
a359e32eb5
1 changed files with 3 additions and 3 deletions
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 a new issue