Re: [PATCH libinput 5/5] evdev: fix a compiler warning about a missing field initializer

2017-05-10 Thread Eric Engestrom
On Wednesday, 2017-05-10 13:48:00 +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer 

This series is
Reviewed-by: Eric Engestrom 

> ---
>  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
> 
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH libinput 5/5] evdev: fix a compiler warning about a missing field initializer

2017-05-09 Thread Peter Hutterer
Signed-off-by: Peter Hutterer 
---
 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},
 };
 
 static inline bool
-- 
2.12.2

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel