Date: 15 Jul 2002 13:37:08 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: Giorgos Keramidas <keramida@FreeBSD.org> Cc: Bruce Evans <bde@zeta.org.au>, freebsd-audit@FreeBSD.org Subject: Re: bin/ln & WARNS=5 Message-ID: <xzpsn2l8bob.fsf@flood.ping.uio.no> In-Reply-To: <20020715112116.GE50130@hades.hell.gr> References: <xzpele59w21.fsf@flood.ping.uio.no> <20020715202126.S40071-100000@gamplex.bde.org> <20020715111436.GD50130@hades.hell.gr> <xzp1ya59r5r.fsf@flood.ping.uio.no> <20020715112116.GE50130@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas <keramida@FreeBSD.org> writes: > What's wrong with sizeof(...)? I thought that style(9) was actually > encouraging the use of parentheses for the arguments of sizeof, when > it mentioned: > > Casts and sizeof's are not followed by a space. Note that > indent(1) does not understand this rule. There are two different cases - one is "sizeof(type)" which requires parentheses, the other is "sizeof variable" which doesn't. In the latter case, the rule about avoiding unnecessary parentheses applies. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpsn2l8bob.fsf>