Specify the type in pthread initializers as well.
Otherwise it would be possible to do e.g. `pthread_mutex_t mutex = PTHREAD_ONCE_INITIALIZER;```, which would expand to ```pthread_mutex_t mutex = {0};```.
parent
b9f19f43
No related branches found
No related tags found
Please register or sign in to comment