Skip to content

Commit

Permalink
fix compilation with NO_PTHREADS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
peff authored and gitster committed Jan 6, 2013
1 parent 1250857 commit 0398fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-command.c
Expand Up @@ -725,7 +725,7 @@ int start_async(struct async *async)
int finish_async(struct async *async) int finish_async(struct async *async)
{ {
#ifdef NO_PTHREADS #ifdef NO_PTHREADS
return wait_or_whine(async->pid, "child process", 0); return wait_or_whine(async->pid, "child process");
#else #else
void *ret = (void *)(intptr_t)(-1); void *ret = (void *)(intptr_t)(-1);


Expand Down

0 comments on commit 0398fc3

Please sign in to comment.