On 29 August 2017 at 11:11, Eric Engestrom <eric.engest...@imgtec.com> wrote: > On Monday, 2017-08-28 14:57:13 -0700, Matt Turner wrote: >> Avoids Clang's warning about the current code: >> >> warning: suggest braces around initialization of subobject > > I'm not sure about this patch [1], but everything else in this series is: IIRC "{}" is the least likely way to avoid the warnings, across GCC/Clang versions. It's not part of the C spec, but since it works - not sure how much to bother.
Would be great to have the issue reported (and fixed) in Clang though. AFAICT both {0} and {0,} are valid, if memory serves me right. -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev