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/12/24 11:22:33 UTC
svn commit: r1647758 -
/subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c
Author: stefan2
Date: Wed Dec 24 10:22:32 2014
New Revision: 1647758
URL: http://svn.apache.org/r1647758
Log:
On the fsx-id branch:
* subversion/libsvn_fs_x/dag.c
(dir_entry_id_from_node): Remove unnecessary RESULT_POOL.
(svn_fs_x__dag_open): Update caller.
Modified:
subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c
Modified: subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c?rev=1647758&r1=1647757&r2=1647758&view=diff
==============================================================================
--- subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c (original)
+++ subversion/branches/fsx-id/subversion/libsvn_fs_x/dag.c Wed Dec 24 10:22:32 2014
@@ -374,12 +374,11 @@ static svn_error_t *
dir_entry_id_from_node(svn_fs_x__noderev_id_t *id_p,
dag_node_t *parent,
const char *name,
- apr_pool_t *result_pool,
apr_pool_t *scratch_pool)
{
dirent_t *dirent;
- SVN_ERR(svn_fs_x__dag_dir_entry(&dirent, parent, name, result_pool,
+ SVN_ERR(svn_fs_x__dag_dir_entry(&dirent, parent, name, scratch_pool,
scratch_pool));
if (dirent)
*id_p = dirent->id;
@@ -1229,8 +1228,7 @@ svn_fs_x__dag_open(dag_node_t **child_p,
svn_fs_x__noderev_id_t node_id;
/* Ensure that NAME exists in PARENT's entry list. */
- SVN_ERR(dir_entry_id_from_node(&node_id, parent, name,
- scratch_pool, scratch_pool));
+ SVN_ERR(dir_entry_id_from_node(&node_id, parent, name, scratch_pool));
if (! svn_fs_x__id_part_used(&node_id))
{
*child_p = NULL;