subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1158004 - /subversion/branches/fs-py/subversion/libsvn_fs_py/rep-cache.c
Date Mon, 15 Aug 2011 20:45:18 GMT
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);
 



Mime
View raw message