mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:43:02 +01:00
Remove extra semicolon in lock/unlock macros.
lock/unlock are always expanded in a context followed by a semicolon.
This commit is contained in:
parent
e7142e49fd
commit
b270c1e8b7
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
language: python
|
language: python
|
||||||
python: nightly
|
python: nightly
|
||||||
|
dist: xenial
|
||||||
|
os: linux
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -102,8 +102,8 @@ uint32_t primary_video_device[2]; /* Primary device */
|
|||||||
static ToxAV *av = NULL;
|
static ToxAV *av = NULL;
|
||||||
|
|
||||||
/* q_mutex */
|
/* q_mutex */
|
||||||
#define lock pthread_mutex_lock(&video_mutex);
|
#define lock pthread_mutex_lock(&video_mutex)
|
||||||
#define unlock pthread_mutex_unlock(&video_mutex);
|
#define unlock pthread_mutex_unlock(&video_mutex)
|
||||||
pthread_mutex_t video_mutex;
|
pthread_mutex_t video_mutex;
|
||||||
|
|
||||||
bool video_thread_running = true,
|
bool video_thread_running = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user