[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11978 - in trunk/subversion: libsvn_subr tests/libsvn_subr

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-11-22 07:45:39 CET

Greg Hudson wrote:

>On Sun, 2004-11-21 at 17:57, brane@tigris.org wrote:
>
>
>>+ if ((memcmp (str1, str2, len1)) == 0)
>>
>>
>
>What, are we trying to allay people's concerns that this might bind as
>memcmp ((str1, str2, len1) == 0)?
>
>There's such a thing as too many parentheses.
>
>
So there is.

>>+ return TRUE;
>>+ else
>>+ return FALSE;
>>
>>
>... and there's also a place for "return (boolean expr);"
>
>
Yup. But note that the original code was already doing this.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 22 07:46:38 2004

This is an archived mail posted to the Subversion Dev mailing list.