summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-08 17:19:55 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-08 17:21:14 -0800
commitb417da55efd24c57a68758a07977ceea5fdaf2e0 (patch)
treeed8fe0501f8a29f8fc169cc9c2ce6b4c3d4c7b9f
parentcad06d6891bdabb42b0db84b35e7d4b802edc5d2 (diff)
S3VSetCursorColors: quiet -Wimplicit-fallthrough warnings
gcc doesn't accept the existing comments because they have additional text after the "else fall through" magic words Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/s3v_hwcurs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s3v_hwcurs.c b/src/s3v_hwcurs.c
index d435565..9c74edb 100644
--- a/src/s3v_hwcurs.c
+++ b/src/s3v_hwcurs.c
@@ -171,6 +171,7 @@ S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
outCRReg(0x4b, bg);
break;
} /* else fall through for ViRGE/MX... */
+ /* FALLTHROUGH */
case 16:
if (!(S3_ViRGE_GX2_SERIES(ps3v->Chipset) || S3_ViRGE_MX_SERIES(ps3v->Chipset))) {
/* adjust colors to 16 bits */
@@ -207,7 +208,7 @@ S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
outCRReg(0x4b, bg >> 8);
break;
} /* else fall through for ViRGE/MX... */
-
+ /* FALLTHROUGH */
case 24:
case 32:
/* Do it straight, full 24 bit color. */