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

This commit is contained in:
Ryan C. Gordon 2011-09-20 17:48:29 -04:00
parent 596099f2c0
commit 081fbdf242

View file

@ -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