Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/xlint



On 27.03.2021 08:59, Christos Zoulas wrote:
I think we should document we prefer the parenthesized version in style
and call it a day.

Sounds good.  Will it mean that the following code is also preferred to
use parentheses?  I like the simplicity without the parentheses, but for
consistency and simplicity of the rule set, I'd also accept the
parenthesized version.

    snprintf(buf, sizeof buf, "%s%s", arg1, arg2);

Roland


Home | Main Index | Thread Index | Old Index