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

Re: svn commit: r1657948 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 07 Feb 2015 22:56:55 +0100

On 06.02.2015 21:21, rhuijben_at_apache.org wrote:
> Author: rhuijben
> Date: Fri Feb 6 20:21:31 2015
> New Revision: 1657948
>
> URL: http://svn.apache.org/r1657948
> Log:
> Use a bit of knowledge from the only caller of the move-update alter
> file/directory logic to avoid reading the same information from wc.db
> twice. Avoid some db queries by performing them only when the result
> is actually used.
>
[...]
> @@ -1520,28 +1518,22 @@ update_moved_away_node(node_move_baton_t
[...]
> else if (src_kind == svn_node_dir)
> {
> - apr_array_header_t *children
> - = children_match(src_children, dst_children) ? NULL : src_children;
> -

.../subversion/libsvn_wc/wc_db_update_move.c:1413:1: warning: unused function 'children_match'
      [-Wunused-function]
children_match(apr_array_header_t *src_children,
^
1 warning generated.

-- Brane
Received on 2015-02-08 11:12:26 CET

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.