Skip to content

Commit 5e5c7bd

Browse files
sloukenYouw
andauthored
Update libusb/hidapi_thread_pthread.h
Co-authored-by: Ihor Dutchak <ihor.youw@gmail.com>
1 parent 553a482 commit 5e5c7bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libusb/hidapi_thread_pthread.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ static int pthread_barrier_wait(pthread_barrier_t *barrier)
7474
pthread_mutex_unlock(&barrier->mutex);
7575
return 1;
7676
}
77-
else
78-
{
77+
else {
7978
pthread_cond_wait(&barrier->cond, &(barrier->mutex));
8079
pthread_mutex_unlock(&barrier->mutex);
8180
return 0;

0 commit comments

Comments
 (0)