[master] dc698d7 one fall through comment should be enough for everyone
phk at phk.freebsd.dk
Thu May 21 21:12:21 CEST 2015
In message <E1YvTvm-00089R-Ts at project.varnish-software.com>, Nils Goroll writes
> one fall through comment should be enough for everyone
>- expp->ttl = -1.; /* fall through */
>+ expp->ttl = -1.;
... but only if it is formatted in a way which lint(1) and decendants
/* FALLTHRU */
/* FALLTHROUGH */
/* FALL-THROUGH */
on the line where the "break" would have been.
It's interesting that python solved this by also having the
explicit null-statement "pass".
 We should probably use the middle form, I see hints that it is
the most widely supported.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit