You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/10/19 22:19:53 UTC

svn commit: r1533818 - /subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c

Author: stefan2
Date: Sat Oct 19 20:19:52 2013
New Revision: 1533818

URL: http://svn.apache.org/r1533818
Log:
On the log-addressing branch: Fix C89 compliance issue.

* subversion/libsvn_fs_fs/cached_data.c
  (block_read): declare variables at block start

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c?rev=1533818&r1=1533817&r2=1533818&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/cached_data.c Sat Oct 19 20:19:52 2013
@@ -2631,13 +2631,12 @@ block_read(void **result,
         {
           svn_boolean_t is_result;
           apr_pool_t *pool;
+          svn_fs_fs__p2l_entry_t* entry;
 
           svn_pool_clear(iterpool);
 
-          svn_fs_fs__p2l_entry_t* entry
-            = &APR_ARRAY_IDX(entries, i, svn_fs_fs__p2l_entry_t);
-
           /* skip empty sections */
+          entry = &APR_ARRAY_IDX(entries, i, svn_fs_fs__p2l_entry_t);
           if (entry->type == SVN_FS_FS__ITEM_TYPE_UNUSED)
             continue;