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

Re: svn commit: r11978 - in trunk/subversion: libsvn_subr tests/libsvn_subr

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-22 02:12:15 CET

brane@tigris.org writes:

> Author: brane
> Date: Sun Nov 21 16:57:00 2004
> New Revision: 11978
>
> Modified:
> trunk/subversion/libsvn_subr/svn_string.c
> trunk/subversion/tests/libsvn_subr/string-test.c
> Log:
> Cleanup of and new tests for the strings implementation.
> Submitted by Jesper Louis Andersen <jlouis@mongers.org>.

> --- trunk/subversion/tests/libsvn_subr/string-test.c (original)
> +++ trunk/subversion/tests/libsvn_subr/string-test.c Sun Nov 21 16:57:00 2004

> +static svn_error_t *
> +test_string_compare (const char* str1,
> + const char* str2,
> + svn_boolean_t msg_only,
> + apr_pool_t *pool)
> +{
> + if (msg_only)
> + return SVN_NO_ERROR;
> +
> + a = svn_stringbuf_create (str1, pool);
> + b = svn_stringbuf_create (str2, pool);
> +
> + return svn_stringbuf_compare (a, b);

../svn/subversion/tests/libsvn_subr/string-test.c: In function `test_string_compare':
../svn/subversion/tests/libsvn_subr/string-test.c:627: warning: return makes pointer from integer without a cast

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 22 02:13:41 2004

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.