summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-16 12:14:57 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:08:59 -0700
commitcbb97f4249ac6768e4a68423825ef0394104f5d8 (patch)
treec6e5d5c69d8962aa14e467aa644bc7fc04358c39
parentb888251a032dfff5f7219334d2e8f256251fa98e (diff)
downloadxorg-driver-xf86-input-mouse-cbb97f4249ac6768e4a68423825ef0394104f5d8.tar.gz
autoGood: quiet -Wimplicit-fallthrough warning
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 <alan.coopersmith@oracle.com>
-rw-r--r--src/mouse.c1
1 files changed, 1 insertions, 0 deletions
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;
}