29.04.2015 09:43, Thomas Huth wrote: > On Wed, 29 Apr 2015 09:34:51 +0300 > Michael Tokarev <m...@tls.msk.ru> wrote: [] >> Hm. So, what's the difference? The same fields are assigned the same >> values, why in first case we have some uninitialized data and in second >> case everything is initialized? Does struct initializer zero-fills all >> other places (alignments, missing fields etc) ? > > Right, the struct initializer fills the remaining fields with zeros.
Okay, point taken. I just didn't know. >> If yes, there's no need to assign zero to flags, btw ;) > > True. Shall I sent a patch without that line? I think it is better for readability to have it in. Applied to -trivial, thank you! /mjt