[PATCH wayland 1/4] scanner: use c99 initializers for the wl_interface * array

Emil Velikov emil.l.velikov at gmail.com
Wed Aug 30 15:33:15 UTC 2017

On 30 August 2017 at 16:21, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> Allows us to remove the explicit NULL init, keeping the list shorter and
> easier to read.
As the trailing NULL entries will be omitted, the actual array size
will be smaller as-is.
Not sure if/how much that would matter as neither requests or events
would reference those.

Still making it a fixed size array might be the wiser move.

More information about the wayland-devel mailing list