From e0c19f2bceee50787e9044d010b5ad59f11da93e Mon Sep 17 00:00:00 2001 From: Rastislav Masaryk Date: Mon, 14 Nov 2016 08:57:59 +0100 Subject: [PATCH] removed __try block around CritSection --- threading.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/threading.c b/threading.c index 5479c209..07c0b880 100644 --- a/threading.c +++ b/threading.c @@ -40,13 +40,8 @@ int mutex_init( MUTEX* mutex) { #if defined(_WIN32) || defined(__CYGWIN__) - __try { InitializeCriticalSection(mutex); return 0; - } - __except (STATUS_NO_MEMORY) { - return STATUS_NO_MEMORY; - } #else return pthread_mutex_init(mutex, NULL); #endif