]> git.ipfire.org Git - thirdparty/systemd.git/commit
timedatectl: stop using _fallthrough_ 41458/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 25 Mar 2026 23:04:34 +0000 (00:04 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 3 Apr 2026 11:07:04 +0000 (13:07 +0200)
commitff2fa93ac0f158d03650a34189218981fbec42fc
treed0bbedda87a5338ec63b14b8401cb1e81277a9e1
parent94db1a961262fa577fd7b1f4c96eeaced748b9d9
timedatectl: stop using _fallthrough_

gcc and newer clang seem to be fine with it, but clang 14, 16, 18
is unhappy:
  ../src/timedate/timedatectl.c:1006:25: error: fallthrough annotation does not directly precede switch label
                        _fallthrough_;
                        ^
_fallthrough_ doesn't seem to be used very often in option parsing,
so let's remove the use for now.
src/timedate/timedatectl.c