aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b4582b0e..d41aa0d4 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -782,13 +782,13 @@ static ATOMIC(ALCdevice*) DeviceList = ATOMIC_INIT_STATIC(NULL);
static almtx_t ListLock;
static inline void LockLists(void)
{
- int lockret = almtx_lock(&ListLock);
- assert(lockret == althrd_success);
+ int ret = almtx_lock(&ListLock);
+ assert(ret == althrd_success);
}
static inline void UnlockLists(void)
{
- int unlockret = almtx_unlock(&ListLock);
- assert(unlockret == althrd_success);
+ int ret = almtx_unlock(&ListLock);
+ assert(ret == althrd_success);
}
/************************************************