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 a2878205f5
commit 7c206c10b5

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