keymap: remove redundant check
This is handled above in the LEGAL_FILE_TYPES check. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
e201c16536
commit
8ff984871b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue