Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't call pthread_exit(), returning from RunThread() is equivalent.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 20, 2011
1 parent 9613ccb commit 4c3a0f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/thread/pthread/SDL_systhread.c
Expand Up @@ -43,8 +43,7 @@ static void *
RunThread(void *data)
{
SDL_RunThread(data);
pthread_exit((void *) 0);
return ((void *) 0); /* Prevent compiler warning */
return NULL;
}

int
Expand Down

0 comments on commit 4c3a0f2

Please sign in to comment.