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

Re: svn commit: r18758 - in trunk/subversion/bindings/swig: include perl/libsvn_swig_perl perl/native perl/native/t

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-10-03 21:17:28 CEST

On Tue, 03 Oct 2006, Garrett Rooney wrote:

> On 10/3/06, David James <djames@collab.net> wrote:
> >On 3/7/06, rooneg@tigris.org <rooneg@tigris.org> wrote:
> >> Author: rooneg
> >> +/* Thunked version of svn_client_info_t callback type. */
> >> +svn_error_t *svn_swig_pl_info_receiver(void *baton,
> >> + const char *path,
> >> + const svn_info_t *info,
> >> + apr_pool_t *pool)
> >> +{
> >> + SV *result;
> >> + svn_error_t *ret_val;
> >> + swig_type_info *infoinfo = _SWIG_TYPE("svn_info_t *");
> >> +
> >> + if (!SvOK((SV *)baton))
> >> + return;
> >
> >It isn't valid to include a bare return statement in a function that
> >returns svn_error_t *. Did you intend to return an error here?
>
> Oops, yeah, that does indeed look like a bug. Anyone got an idea what
> kind of error it should return?

Some sort of invalid input error...

  • application/pgp-signature attachment: stored
Received on Tue Oct 3 21:18:53 2006

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.