Martin Gansser wrote: > + timespec ts = {0}; The compiler will warn about the missing initializers with this idiom. (struct timespec has more than one member.) Write this instead: timespec ts = {}; (If you omit the initializer list within the braces entirely, as I have done above, GCC will know that you want to initialize the struct to all zeros and not complain about the missing zeros. Just make sure you keep the = {} part, otherwise the struct will not be initialized at all.) Kevin Kofler _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx