Warning fixes

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-08-08 13:30:05 +02:00
parent 1a930bf256
commit 26c01d3bb4
2 changed files with 2 additions and 1 deletions

View File

@ -366,7 +366,7 @@ xkb_key_mod_index_is_consumed(struct xkb_state *state, xkb_keycode_t kc,
xkb_group_index_t group;
struct xkb_key_type *type;
unsigned int i;
struct xkb_kt_map_entry *entry;
struct xkb_kt_map_entry *entry = NULL;
xkb_mod_mask_t active_mods;
if (!XkbKeycodeInRange(keymap, kc))

View File

@ -877,6 +877,7 @@ HandleKeyTypesFile(KeyTypesInfo *info, XkbFile *file, enum merge_mode merge)
log_err(info->keymap->ctx,
"Support for changing the default type has been removed; "
"Statement ignored\n");
ok = true;
break;
case STMT_VMOD: /* virtual_modifiers NumLock, ... */
ok = HandleVModDef((VModDef *) stmt, info->keymap, merge,