You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/05/17 21:55:52 UTC

svn commit: r1339828 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: hwright
Date: Thu May 17 19:55:52 2012
New Revision: 1339828

URL: http://svn.apache.org/viewvc?rev=1339828&view=rev
Log:
* subversion/libsvn_repos/dump.c
  (close_directory): Use APR hash helper function.

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1339828&r1=1339827&r2=1339828&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Thu May 17 19:55:52 2012
@@ -741,10 +741,7 @@ close_directory(void *dir_baton,
        hi;
        hi = apr_hash_next(hi))
     {
-      const void *key;
-      const char *path;
-      apr_hash_this(hi, &key, NULL, NULL);
-      path = key;
+      const char *path = svn__apr_hash_index_key(hi);
 
       svn_pool_clear(subpool);