From cbb97f4249ac6768e4a68423825ef0394104f5d8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 16 Oct 2022 12:14:57 -0700 Subject: autoGood: quiet -Wimplicit-fallthrough warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mouse.c: In function ‘autoGood’: mouse.c:3724:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mPriv->goodCount < PROBE_UNCERTAINTY/2) ^ mouse.c:3726:5: note: here default: ^~~~~~~ Signed-off-by: Alan Coopersmith --- src/mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mouse.c b/src/mouse.c index 68620bd..1579555 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -3727,6 +3727,7 @@ autoGood(MouseDevPtr pMse) case AUTOPROBE_H_VALIDATE2: if (mPriv->goodCount < PROBE_UNCERTAINTY/2) return TRUE; + /* FALLTHROUGH */ default: return FALSE; } -- cgit v1.2.3