projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e201c16
)
keymap: remove redundant check
author
Ran Benita
<ran234@gmail.com>
Sat, 30 Jun 2012 21:45:20 +0000
(
00:45
+0300)
committer
Ran Benita
<ran234@gmail.com>
Sun, 1 Jul 2012 07:21:01 +0000
(10:21 +0300)
This is handled above in the LEGAL_FILE_TYPES check.
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/keymap.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/keymap.c
b/src/xkbcomp/keymap.c
index
9b84ab4
..
2904310
100644
(file)
--- 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) {