svn commit: r346554 - head/sys/netinet

Bruce Evans brde at optusnet.com.au
Mon Apr 22 14:55:35 UTC 2019


On Mon, 22 Apr 2019, Bjoern A. Zeeb wrote:

> On 22 Apr 2019, at 14:20, Bjoern A. Zeeb wrote:
>> Log:
>>   Remove some excessive brackets.
>> 
>>   No functional change.
>
> But it includes a stye bug; sorry; I had re-indented the lines to validate 
> the change.  I<UTF deleted>ll remedy this with the follow-up commit which will split 
> that block up anyway.

Also, it removes excessive parentheses, not excessive brackets.

I think excessive brackets are just syntax errors.  E.g., a[[i]].

Excessive braces are not syntax errors, but I've never more than single
excessive ones.  E.g.,

 	if (foo != 0) {
 		bar();
 	}

is a common style bug, but

 	if (foo != 0) {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 		bar();
 	              }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

s unusual.

Bruce


More information about the svn-src-all mailing list