keyboard: Silence initialization warning

This field is always initialized properly before being
used, so let's not initialize it when declaring.
This commit is contained in:
Georges Basile Stavracas Neto 2018-03-16 14:19:43 -03:00
parent ee66dc5f3f
commit aba1647bea

View file

@ -67,7 +67,7 @@ parse_start_tag (GMarkupParseContext *ctx,
GError **error)
{
KeyList *keylist = (KeyList *) user_data;
KeyListEntry key = { 0, };
KeyListEntry key;
const char *name, *schema, *description, *package, *context, *orig_description, *reverse_entry;
gboolean is_reversed, hidden;