Commit 081fbdf2 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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

parent 596099f2
...@@ -43,8 +43,7 @@ static void * ...@@ -43,8 +43,7 @@ static void *
RunThread(void *data) RunThread(void *data)
{ {
SDL_RunThread(data); SDL_RunThread(data);
pthread_exit((void *) 0); return NULL;
return ((void *) 0); /* Prevent compiler warning */
} }
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment