[PATCH libinput 5/5] evdev: fix a compiler warning about a missing field initializer
Eric Engestrom
eric.engestrom at imgtec.com
Wed May 10 09:35:12 UTC 2017
On Wednesday, 2017-05-10 13:48:00 +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
This series is
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> src/evdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/evdev.c b/src/evdev.c
> index d24a5646..a2be6fce 100644
> --- a/src/evdev.c
> +++ b/src/evdev.c
> @@ -92,7 +92,7 @@ static const struct evdev_udev_tag_match evdev_udev_tag_matches[] = {
> {"ID_INPUT_SWITCH", EVDEV_UDEV_TAG_SWITCH},
>
> /* sentinel value */
> - { 0 },
> + {0, 0},
I'm sending a patch to change the code using this to use ARRAY_SIZE()
instead, based on top of this patch.
> };
>
> static inline bool
> --
> 2.12.2
>
More information about the wayland-devel
mailing list