mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 14:26:01 +00:00
SDL_sysmutex.c: fix void return compile error
This commit is contained in:
@@ -141,7 +141,8 @@ void SDL_UnlockMutex(SDL_Mutex *mutex) SDL_NO_THREAD_SAFETY_ANALYSIS // clang do
|
|||||||
pthread_mutex_unlock(&mutex->id);
|
pthread_mutex_unlock(&mutex->id);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return SDL_SetError("mutex not owned by this thread");
|
SDL_SetError("mutex not owned by this thread");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user