summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xkbcomp/keycodes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xkbcomp/keycodes.c b/src/xkbcomp/keycodes.c
index 55a37f0..7d305ab 100644
--- a/src/xkbcomp/keycodes.c
+++ b/src/xkbcomp/keycodes.c
@@ -118,7 +118,6 @@ typedef struct {
typedef struct {
char *name;
int errorCount;
- enum merge_mode merge;
xkb_keycode_t min_key_code;
xkb_keycode_t max_key_code;
@@ -232,7 +231,6 @@ InitKeyNamesInfo(KeyNamesInfo *info, struct xkb_context *ctx)
{
memset(info, 0, sizeof(*info));
info->ctx = ctx;
- info->merge = MERGE_DEFAULT;
info->min_key_code = XKB_KEYCODE_MAX;
}
@@ -545,7 +543,7 @@ HandleLedNameDef(KeyNamesInfo *info, LedNameDef *def,
return ReportBadType(info->ctx, "indicator", "name", buf, "string");
}
- ledi.merge = info->merge;
+ ledi.merge = merge;
ledi.name = name;
return AddLedName(info, merge, true, &ledi, def->ndx - 1);
}