mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 14:26:01 +00:00
Fixed warnings building for UWP
This commit is contained in:
@@ -55,7 +55,7 @@ extern "C" void SDL_LockMutex(SDL_Mutex *mutex) SDL_NO_THREAD_SAFETY_ANALYSIS /
|
||||
if (mutex != NULL) {
|
||||
try {
|
||||
mutex->cpp_mutex.lock();
|
||||
} catch (std::system_error &ex) {
|
||||
} catch (std::system_error &/*ex*/) {
|
||||
SDL_assert(!"Error trying to lock mutex"); // assume we're in a lot of trouble if this assert fails.
|
||||
//return SDL_SetError("unable to lock a C++ mutex: code=%d; %s", ex.code(), ex.what());
|
||||
}
|
||||
|
Reference in New Issue
Block a user