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

Re: svn commit: r1003986 [1/2] - in /subversion/trunk/subversion: libsvn_client/ libsvn_fs_base/ libsvn_fs_base/bdb/ libsvn_fs_fs/ libsvn_ra_local/ libsvn_ra_neon/ libsvn_ra_serf/ libsvn_ra_svn/ libsvn_repos/ libsvn_subr/ libsvn_wc/ mod_authz_svn/ mod_dav_...

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 04 Oct 2010 17:41:49 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Stefan Sperling <stsp_at_elego.de> writes:
>
>> I think the warning is printed only for functions that are marked in
>> a special way that GCC looks for.
>> The svn_* functions don't have such markers.
>
> They don't have __attribute((sentinel)) but there is the same need for
> a cast, no more or less, than the function calls you changed.

As far as correct code is concerned. There is a difference in terms
of compiler warnings.

-- 
Philip
Received on 2010-10-04 18:42:29 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.