You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@wandisco.com> on 2015/02/07 22:56:55 UTC

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

On 06.02.2015 21:21, rhuijben@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