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

Re: svn commit: r1430975 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/low_level.c

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Wed, 9 Jan 2013 20:00:05 +0100

On Wed, Jan 9, 2013 at 7:42 PM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 09.01.2013 19:35, Ben Reser wrote:
> > On Wed, Jan 9, 2013 at 10:00 AM, Branko Čibej <brane_at_wandisco.com>
> wrote:
> >> On 09.01.2013 18:54, stefan2_at_apache.org wrote:
> >>> - if (header->is_delta)
> >>> + if (header->is_delta == FALSE)
> >> Can we please use logical operators to test boolean values, not
> >> arithmetic ones?
>

Hm. I somehow got the impression from other people's
code that they liked the more explicit version. Personally,
I prefer the shorter one.

> >> if (!header->is_delta)
> > There's quite a few examples of this in the code right now that we
> > should fix then
>
> Agreed -- we should fix them.
>

Ok. I'm on it right now. Being bored at the airport anyways ...

-- Stefan^2.

-- 
Certified & Supported Apache Subversion Downloads:
*
http://www.wandisco.com/subversion/download
*
Received on 2013-01-09 20:00:38 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.