1
0
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:
Zdenek Kabelac 2015-10-23 09:44:21 +02:00
parent 21748a8630
commit b5b2a54834

View File

@ -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);