about summary refs log tree commit diff
path: root/contrib/Debian/source/format
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-18 22:41:39 +0100
committerAlexander Barton <alex@barton.de>2024-01-18 22:49:48 +0100
commitc83d55f75884130367f9d3f4db262bccb2049abe (patch)
treef57906d663942c263f074634f2a073c97f714cd5 /contrib/Debian/source/format
parent1d527eaf17435089e70b530955e271bbd0440fe4 (diff)
downloadngircd-c83d55f75884130367f9d3f4db262bccb2049abe.tar.gz
ngircd-c83d55f75884130367f9d3f4db262bccb2049abe.zip
Annotate "fall through" cases to silence warnings
Add a "/* fall through */" annotation to "case" statements which
actually should "fall through" to silences GCC warning like this:

  hash.c: In function ‘jenkins_hash’:
  hash.c:110:27: warning: this statement may fall through
                 [-Wimplicit-fallthrough=]
    110 |                 case 12: c+=((UINT32)k[11])<<24;
        |                          ~^~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'contrib/Debian/source/format')
0 files changed, 0 insertions, 0 deletions