summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-07-11 09:16:55 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-07-11 09:25:15 +0200
commit76eed4986b8c94008853c2215408a100b7e95ecb (patch)
tree137cd1a3d29ffabff25c5bd260e9d6973f71b81c /compat.c
parentc230cee968c7e7956a04e4d73bd6f23260f435db (diff)
downloadxorg-app-xkbcomp-76eed4986b8c94008853c2215408a100b7e95ecb.tar.gz
suppress four more warnings when 'warningLevel' is zero
This addresses issue #20 some more. Reported-by: Vincent Lefevre Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 8a883c9..757ef42 100644
--- a/compat.c
+++ b/compat.c
@@ -246,7 +246,7 @@ AddInterp(CompatInfo * info, SymInterpInfo * new)
old->interp.match |= (new->interp.match & XkbSI_LevelOneOnly);
old->defs.defined |= _SI_LevelOneOnly;
}
- if (collide)
+ if (collide && (warningLevel > 0))
{
WARN("Multiple interpretations of \"%s\"\n", siText(new, info));
ACTION("Using %s definition for duplicate fields\n",