SDL_sysmutex.c: fix void return compile error

main
Mark Delk 2024-03-21 13:11:49 -05:00 committed by Sam Lantinga
parent 917d683811
commit dd4636e3fd
1 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,8 @@ void SDL_UnlockMutex(SDL_Mutex *mutex) SDL_NO_THREAD_SAFETY_ANALYSIS // clang do
pthread_mutex_unlock(&mutex->id);
}
} else {
return SDL_SetError("mutex not owned by this thread");
SDL_SetError("mutex not owned by this thread");
return;
}
#else