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

Re: svn commit: r941094 - /subversion/trunk/subversion/libsvn_client/commit_util.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 05 May 2010 09:45:06 +0100

neels_at_apache.org writes:

> Author: neels
> Date: Tue May 4 23:31:42 2010
> New Revision: 941094
> URL: http://svn.apache.org/viewvc?rev=941094&view=rev
> Log:
> One less use of entry_t.

> if (is_added)
> {
> - SVN_ERR(svn_wc__node_get_copyfrom_info(&entry_copyfrom_url,
> - &entry_copyfrom_rev,
> + svn_boolean_t is_copy_target;
> + const char *copyfrom_url;
> + svn_revnum_t copyfrom_rev;
> +
> + SVN_ERR(svn_wc__node_get_copyfrom_info(&copyfrom_url,
> + &copyfrom_rev,
> &is_copy_target,
> ctx->wc_ctx, local_abspath,
> scratch_pool, scratch_pool));

../src/subversion/libsvn_client/commit_util.c:565: warning: declaration of ‘copyfrom_url’ shadows a parameter
../src/subversion/libsvn_client/commit_util.c:367: warning: shadowed declaration is here

-- 
Philip
Received on 2010-05-05 10:46:09 CEST

This is an archived mail posted to the Subversion Dev mailing list.