On 25 August 2016 at 18:53, Gurchetan Singh <gurchetansi...@chromium.org> wrote:
>>> unsigned int format_count[ARRAY_SIZE(visuals)] = {};
>
> Isn't this invalid in C?
> http://stackoverflow.com/questions/17589533/is-an-empty-initializer-list-valid-c-code
>
Since we have a bunch of these around (here, xserver, libdrm, IGT...)
I jumped the gun and assumed they're legal.

Thanks !
Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to