os: NextDPMSTimeout: mark intentional fallthroughs in switchmaster
commitb306df5a6060beea82b5157c3603593527b220b0
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Mon, 9 Sep 2024 23:21:46 +0000 (9 16:21 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Oct 2024 22:20:16 +0000 (11 22:20 +0000)
tree77c48e4ada227b30606f96d9a1eddc94044d572b
parente12d9863fd46698f8904976db7364b62c99daf36
os: NextDPMSTimeout: mark intentional fallthroughs in switch

The comment at the top of the function tells humans the fallthroughs
are intentional, but gcc doesn't parse that.

Clears 3 -Wimplicit-fallthrough warnings from gcc 14.1

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1716>
os/WaitFor.c