You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/09/11 14:29:53 UTC

svn commit: r1169436 - /subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c

Author: danielsh
Date: Sun Sep 11 12:29:52 2011
New Revision: 1169436

URL: http://svn.apache.org/viewvc?rev=1169436&view=rev
Log:
On the fs-successor-ids branch, reduce a variable's scope.

* subversion/libsvn_fs_base/tree.c
  (txn_body_history_next): As above.

Modified:
    subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c

Modified: subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c?rev=1169436&r1=1169435&r2=1169436&view=diff
==============================================================================
--- subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c (original)
+++ subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/tree.c Sun Sep 11 12:29:52 2011
@@ -4512,13 +4512,13 @@ txn_body_history_next(void *baton, trail
 {
   struct history_next_args *args = baton;
   base_history_data_t *bhd = args->history->fsap_data;
-  svn_fs_root_t *root;
   const svn_fs_id_t *node_id;
   apr_pool_t *pool = args->pool;
 
   /* Compute NODE_ID from bhd->PATH and bhd->REVISION. */
   {
     struct revision_root_args rr_args;
+    svn_fs_root_t *root;
     dag_node_t *node;
 
     rr_args.root_p = &root;