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 2011/08/15 22:45:18 UTC

svn commit: r1158004 - /subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c

Author: hwright
Date: Mon Aug 15 20:45:18 2011
New Revision: 1158004

URL: http://svn.apache.org/viewvc?rev=1158004&view=rev
Log:
On the fs-py branch:
* subversion/libsvn_fs_py/rep-cache.c
  (svn_fs_py__walk_rep_reference): Declare variables first!

Modified:
    subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c

Modified: subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c?rev=1158004&r1=1158003&r2=1158004&view=diff
==============================================================================
--- subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c (original)
+++ subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c Mon Aug 15 20:45:18 2011
@@ -154,12 +154,11 @@ svn_fs_py__walk_rep_reference(svn_fs_t *
   svn_sqlite__stmt_t *stmt;
   svn_boolean_t have_row;
   int iterations = 0;
+  apr_pool_t *iterpool = svn_pool_create(pool);
   int format;
 
   SVN_ERR(svn_fs_py__get_int_attr(&format, ffd->p_fs, "format"));
 
-  apr_pool_t *iterpool = svn_pool_create(pool);
-
   /* Don't check ffd->rep_sharing_allowed. */
   SVN_ERR_ASSERT(format >= SVN_FS_FS__MIN_REP_SHARING_FORMAT);