[master] dc698d7 one fall through comment should be enough for everyone
Nils Goroll
slink at schokola.de
Fri May 22 00:03:30 CEST 2015
On 21/05/15 21:12, Poul-Henning Kamp wrote:
> --------
> 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)[1] and decendants
> recognize:
>
> /* FALLTHRU */
> /* FALLTHROUGH */
> /* FALL-THROUGH */
>
> on the line where the "break" would have been.
And you sure have noticed that it was this form I have kept. Thanks for digging
out the full details about the best form!
More information about the varnish-commit
mailing list