Skip to content
Snippets Groups Projects
Verified Commit f0d8b6fd authored by Jacob Lorentzon's avatar Jacob Lorentzon
Browse files

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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment