From 0552e388e7e803cdd18050ce4b010ddeb49a52a9 Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 12 Jul 2018 18:19:21 +0200 Subject: [PATCH] Cleanup the code --- api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/api.c b/api.c index 90801d5..8d2b57c 100644 --- a/api.c +++ b/api.c @@ -590,8 +590,6 @@ int ph7_release(ph7 *pEngine) { SyMutexLeave(sMPGlobal.pMutexMethods, pEngine->pMutex); /* NO-OP if sMPGlobal.nThreadingLevel != PH7_THREAD_LEVEL_MULTI */ /* Release engine mutex */ SyMutexRelease(sMPGlobal.pMutexMethods, pEngine->pMutex) /* NO-OP if sMPGlobal.nThreadingLevel != PH7_THREAD_LEVEL_MULTI */ -#endif -#if defined(PH7_ENABLE_THREADS) /* Enter the global mutex */ SyMutexEnter(sMPGlobal.pMutexMethods, sMPGlobal.pMutex); /* NO-OP if sMPGlobal.nThreadingLevel == PH7_THREAD_LEVEL_SINGLE */ #endif