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

Re: svn commit: r1329609 - in /subversion/trunk/subversion: include/svn_error.h libsvn_fs/fs-loader.c

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 25 Apr 2012 14:54:12 -0400

On Apr 25, 2012 7:40 AM, "Daniel Shahaf" <danielsh_at_elego.de> wrote:
>
> Bert Huijben wrote on Wed, Apr 25, 2012 at 12:52:07 +0200:
> >
> >
> > > -----Original Message-----
> > > From: Daniel Shahaf [mailto:danielsh_at_elego.de]
> > > Sent: woensdag 25 april 2012 11:46
> > > To: Greg Stein
> > > Cc: Hyrum K Wright; dev_at_subversion.apache.org
> > > Subject: Re: svn commit: r1329609 - in /subversion/trunk/subversion:
> > > include/svn_error.h libsvn_fs/fs-loader.c
> >
> >
> > > if (!(expr)) {
> > > svn_error_t *e1 = (err), *e2 = svn_error__malfunction();
> > > return (e1 ? svn_error_compose_create(e2, e1) : e2);
> > > }
> >
> > svn_error_compose_create() has no problems with NULL arguments.
> >
>
> I know, I think Greg's concern was calling it too often (as opposed to
> calling it with NULL)

Yup. Especially after we just got done talking about how these remain in
production code.

Cheers,
-g
Received on 2012-04-25 20:54:51 CEST

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.