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 2014/10/18 13:48:33 UTC
svn commit: r1632773 - /subversion/trunk/subversion/svnfsfs/stats-cmd.c
Author: stefan2
Date: Sat Oct 18 11:48:32 2014
New Revision: 1632773
URL: http://svn.apache.org/r1632773
Log:
Minor code cleanup.
* subversion/svnfsfs/stats-cmd.c
(read_item): Remove unused parameter.
(read_log_rev_or_packfile): Update callers.
Modified:
subversion/trunk/subversion/svnfsfs/stats-cmd.c
Modified: subversion/trunk/subversion/svnfsfs/stats-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnfsfs/stats-cmd.c?rev=1632773&r1=1632772&r2=1632773&view=diff
==============================================================================
--- subversion/trunk/subversion/svnfsfs/stats-cmd.c (original)
+++ subversion/trunk/subversion/svnfsfs/stats-cmd.c Sat Oct 18 11:48:32 2014
@@ -1459,12 +1459,11 @@ read_phys_revision_file(query_t *query,
return SVN_NO_ERROR;
}
-/* Read the item described by ENTRY from the REV_FILE of QUERY and return
+/* Read the item described by ENTRY from the REV_FILE and return
* the respective byte sequence in *CONTENTS allocated in POOL.
*/
static svn_error_t *
read_item(svn_stringbuf_t **contents,
- query_t *query,
svn_fs_fs__revision_file_t *rev_file,
svn_fs_fs__p2l_entry_t *entry,
apr_pool_t *pool)
@@ -1558,7 +1557,7 @@ read_log_rev_or_packfile(query_t *query,
revision_info_t *info = APR_ARRAY_IDX(query->revisions,
entry->item.revision,
revision_info_t*);
- SVN_ERR(read_item(&item, query, rev_file, entry, iterpool));
+ SVN_ERR(read_item(&item, rev_file, entry, iterpool));
SVN_ERR(read_noderev(query, item, 0, info, pool, iterpool));
}
else if (entry->type == SVN_FS_FS__ITEM_TYPE_CHANGES)
@@ -1567,7 +1566,7 @@ read_log_rev_or_packfile(query_t *query,
revision_info_t *info = APR_ARRAY_IDX(query->revisions,
entry->item.revision,
revision_info_t*);
- SVN_ERR(read_item(&item, query, rev_file, entry, iterpool));
+ SVN_ERR(read_item(&item, rev_file, entry, iterpool));
info->change_count
= get_change_count(item->data + 0, item->len);
info->changes_len += entry->size;