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:
Ævar Arnfjörð Bjarmason 2023-02-08 20:21:11 +01:00 коммит произвёл Junio C Hamano
Родитель 56c8fb1e95
Коммит 5123e6e7bd
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1632,9 +1632,7 @@ static void pp_buffer_stderr(struct parallel_processes *pp,
const struct run_process_parallel_opts *opts,
int output_timeout)
{
int i;
while ((i = poll(pp->pfd, opts->processes, output_timeout) < 0)) {
while (poll(pp->pfd, opts->processes, output_timeout) < 0) {
if (errno == EINTR)
continue;
pp_cleanup(pp, opts);