commit 5f668c4
Michael Forney
·
2013-07-19 08:13:27 +0000 UTC
parent eefa125
wayland: Initialize interfaces_tried array to 0
1 files changed,
+1,
-1
+1,
-1
1@@ -99,7 +99,7 @@ struct wld_wayland_context * wld_wayland_create_context
2 {
3 struct wld_wayland_context * wayland;
4 va_list requested_interfaces;
5- bool interfaces_tried[ARRAY_LENGTH(interfaces)] = {};
6+ bool interfaces_tried[ARRAY_LENGTH(interfaces)] = {0};
7
8 wayland = malloc(sizeof *wayland);
9