Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Don't call pthread_exit(), returning from RunThread() is equivalent.

  • Loading branch information
icculus committed Sep 20, 2011
1 parent 9613ccb commit 4c3a0f251f9b4769b8b8eb0718822835e0a72aba
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/thread/pthread/SDL_systhread.c
@@ -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

0 comments on commit 4c3a0f2

Please sign in to comment.