зеркало из https://github.com/microsoft/git.git
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:
Родитель
56c8fb1e95
Коммит
5123e6e7bd
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче