Hi,
r24288 introduces a compiler warning:
subversion/libsvn_client/merge.c: In function 'svn_client_get_mergeinfo':
subversion/libsvn_client/merge.c:2414: warning: passing argument 1 of 'svn_client__path_relative_to_root' from incompatible pointer type
{{{
Suppress a compiler warning.
* subversion/libsvn_client/merge.c (svn_client_get_mergeinfo):
Add missing const modifier.
}}}
Thanks,
--
kou
Index: subversion/libsvn_client/merge.c
===================================================================
--- subversion/libsvn_client/merge.c (revision 24290)
+++ subversion/libsvn_client/merge.c (working copy)
@@ -2410,7 +2410,7 @@
if (svn_path_is_url(path_or_url))
{
- char *repos_rel_path;
+ const char *repos_rel_path;
SVN_ERR(svn_client__path_relative_to_root(&repos_rel_path, url, NULL,
ra_session, NULL, pool));
SVN_ERR(svn_client__get_repos_merge_info(ra_session, mergeinfo,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 31 06:34:03 2007