Re: Warning for missing sentinel arguments
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 19 Nov 2013 17:19:34 +0000 (GMT)
Bert Huijben wrote:
>> Bert Huijben wrote:
I was referring to the change of SVN_NO_ERROR from '0' to '(void *)0'.
(It's not an ABI change of course, because preprocessor macros aren't exposed in the ABI.)
If
But now I see that the real issue with svn_cl__try is its variable arguments are not pointers at all, but error codes of (integer) type 'apr_status_t'. So the sentinel should be 0 or APR_SUCCESS.
I've changed the sentinels there to 0 and updated the doc string, in 1543507.
Earlier, in r1543477, I updated all remaining variadic function calls that want a pointer-null sentinel, to use SVN_VA_NULL instead of plain NULL.
- Julian
|
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.