run-command.c: remove dead assignment in while-loop
Remove code that's been unused since it was added in
c553c72eed
(run-command: add an asynchronous parallel child
processor, 2015-12-15).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
56c8fb1e95
commit
5123e6e7bd
@ -1632,9 +1632,7 @@ static void pp_buffer_stderr(struct parallel_processes *pp,
|
|||||||
const struct run_process_parallel_opts *opts,
|
const struct run_process_parallel_opts *opts,
|
||||||
int output_timeout)
|
int output_timeout)
|
||||||
{
|
{
|
||||||
int i;
|
while (poll(pp->pfd, opts->processes, output_timeout) < 0) {
|
||||||
|
|
||||||
while ((i = poll(pp->pfd, opts->processes, output_timeout) < 0)) {
|
|
||||||
if (errno == EINTR)
|
if (errno == EINTR)
|
||||||
continue;
|
continue;
|
||||||
pp_cleanup(pp, opts);
|
pp_cleanup(pp, opts);
|
||||||
|
Reference in New Issue
Block a user