You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2016/01/09 19:49:04 UTC

svn commit: r1723873 - /subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c

Author: kotkov
Date: Sat Jan  9 18:49:03 2016
New Revision: 1723873

URL: http://svn.apache.org/viewvc?rev=1723873&view=rev
Log:
On 'fs-node-api' branch: Following up on r1723819, fix build.

* subversion/libsvn_fs/node_compat.c
  (compat_fs_node_dir_entries): Declare apr_hash_index_t *hi in the
   beginning of this function.

Modified:
    subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c

Modified: subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c?rev=1723873&r1=1723872&r2=1723873&view=diff
==============================================================================
--- subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c (original)
+++ subversion/branches/fs-node-api/subversion/libsvn_fs/node_compat.c Sat Jan  9 18:49:03 2016
@@ -104,13 +104,14 @@ compat_fs_node_dir_entries(apr_hash_t **
   svn_fs_root_t *root;
   apr_hash_t *entries_v1;
   apr_hash_t *entries_v2;
+  apr_hash_index_t *hi;
 
   SVN_ERR(get_root(&root, fnd, scratch_pool));
 
   SVN_ERR(svn_fs_dir_entries(&entries_v1, root, fnd->path, scratch_pool));
 
   entries_v2 = apr_hash_make(result_pool);
-  for (apr_hash_index_t *hi = apr_hash_first(scratch_pool, entries_v1); hi;
+  for (hi = apr_hash_first(scratch_pool, entries_v1); hi;
        hi = apr_hash_next(hi))
     {
       svn_fs_dirent_t *dirent_v1 = apr_hash_this_val(hi);