[virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers
Eduardo Lima (Etrunko)
etrunko at redhat.com
Thu Jun 23 13:15:20 UTC 2016
On 06/22/2016 05:16 PM, Pavel Grunt wrote:
> On Wed, 2016-06-22 at 14:59 -0300, Eduardo Lima (Etrunko) wrote:
>> This is not actually necessary as of C99. You only need to initialize
>> any field of a structure to get all other fields initialized too.
>
> yes, I was just annoyed by the warning..
Interesting, can you share what was exactly the warning message? Clang
as a modern compiler should be able to handle this case.
--
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com
More information about the virt-tools-list
mailing list