subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@wandisco.com>
Subject Re: svn commit: r1657948 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Date Sat, 07 Feb 2015 21:56:55 GMT
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

Mime
View raw message