mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-31 21:18:26 +03:00
cleanup: fix gcc compile with older pthread
Older pthread library was missing 'trick' in pthread_cleanup_pop() which lead to compilation error: error: label at end of compound statement Use explicit ';' to fix it.
This commit is contained in:
parent
21748a8630
commit
b5b2a54834
@ -1029,6 +1029,9 @@ static void *_monitor_thread(void *arg)
|
||||
}
|
||||
}
|
||||
out:
|
||||
/* ';' fixes gcc compilation problem with older pthread macros
|
||||
* "label at end of compound statement" */
|
||||
;
|
||||
|
||||
pthread_cleanup_pop(1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user