diff options
-rw-r--r-- | src/compose/table.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compose/table.c b/src/compose/table.c index 49a0a8e..cf72339 100644 --- a/src/compose/table.c +++ b/src/compose/table.c @@ -36,7 +36,7 @@ xkb_compose_table_new(struct xkb_context *ctx, { char *resolved_locale; struct xkb_compose_table *table; - struct compose_node dummy; + struct compose_node dummy = {0,}; resolved_locale = resolve_locale(locale); if (!resolved_locale) @@ -59,6 +59,8 @@ xkb_compose_table_new(struct xkb_context *ctx, darray_init(table->utf8); dummy.keysym = XKB_KEY_NoSymbol; + dummy.lokid = 0; + dummy.hikid = 0; dummy.leaf.is_leaf = true; dummy.leaf.utf8 = 0; dummy.leaf.keysym = XKB_KEY_NoSymbol; |