From 76eed4986b8c94008853c2215408a100b7e95ecb Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 11 Jul 2022 09:16:55 +0200 Subject: suppress four more warnings when 'warningLevel' is zero This addresses issue #20 some more. Reported-by: Vincent Lefevre Signed-off-by: Benno Schulenberg --- compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat.c') 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", -- cgit v1.2.3