fix compiler warning
This commit is contained in:
parent
626097be55
commit
83da7b0219
|
@ -59,8 +59,6 @@ void SDL_DestroyMutex(SDL_mutex *mutex)
|
|||
/* Lock the semaphore */
|
||||
int SDL_mutexP(SDL_mutex *mutex)
|
||||
{
|
||||
Uint32 this_thread;
|
||||
|
||||
if ( mutex == NULL ) {
|
||||
SDL_SetError("Passed a NULL mutex");
|
||||
return -1;
|
||||
|
|
Reference in a new issue