mirror of
https://github.com/git/git.git
synced 2024-09-28 16:13:01 +02:00
fix compilation with NO_PTHREADS
Commit 1327452 cleaned up an unused parameter from wait_or_whine, but forgot to update a caller that is inside "#ifdef NO_PTHREADS". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
1250857c6c
commit
0398fc3496
@ -725,7 +725,7 @@ error:
|
||||
int finish_async(struct async *async)
|
||||
{
|
||||
#ifdef NO_PTHREADS
|
||||
return wait_or_whine(async->pid, "child process", 0);
|
||||
return wait_or_whine(async->pid, "child process");
|
||||
#else
|
||||
void *ret = (void *)(intptr_t)(-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user