From: Ran Benita Date: Sat, 30 Jun 2012 21:45:20 +0000 (+0300) Subject: keymap: remove redundant check X-Git-Tag: xkbcommon-0.2.0~477 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ff984871ba00434277b3c1a55ea240ef1157509;p=platform%2Fupstream%2Flibxkbcommon.git keymap: remove redundant check This is handled above in the LEGAL_FILE_TYPES check. Signed-off-by: Ran Benita --- diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c index 9b84ab4..2904310 100644 --- a/src/xkbcomp/keymap.c +++ b/src/xkbcomp/keymap.c @@ -97,11 +97,6 @@ CompileKeymap(struct xkb_context *ctx, XkbFile *file) WSGO("Unknown file type %d\n", file->type); ACTION("Ignored\n"); continue; - case FILE_TYPE_KEYMAP: - WSGO("Illegal %s configuration in a %s file\n", - XkbcFileTypeText(file->type), XkbcFileTypeText(mainType)); - ACTION("Ignored\n"); - continue; } if (!file->topName || strcmp(file->topName, mainName) != 0) {