commit 5f668c47887f56c63b32c9be539f0118c36061d9
parent eefa1250121b3456f727b67dfaba7b0f7f15d25b
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 19 Jul 2013 01:13:27 -0700
wayland: Initialize interfaces_tried array to 0
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wayland.c b/wayland.c
@@ -99,7 +99,7 @@ struct wld_wayland_context * wld_wayland_create_context
{
struct wld_wayland_context * wayland;
va_list requested_interfaces;
- bool interfaces_tried[ARRAY_LENGTH(interfaces)] = {};
+ bool interfaces_tried[ARRAY_LENGTH(interfaces)] = {0};
wayland = malloc(sizeof *wayland);