From 4bd0610f1370e9716d7b999ade01a0c188390792 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 4 Mar 2013 13:21:42 +0200 Subject: [PATCH] keycodes: remove KeyNamesInfo::merge Not used. Signed-off-by: Ran Benita --- src/xkbcomp/keycodes.c | 4 +--- 1 file changed, 1 insertion(+), 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); }