You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/03/16 22:30:39 UTC
svn commit: r1082307 -
/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Author: hwright
Date: Wed Mar 16 21:30:39 2011
New Revision: 1082307
URL: http://svn.apache.org/viewvc?rev=1082307&view=rev
Log:
Rename a variable and const-ify it, to avoid a warning.
* subversion/tests/libsvn_wc/op-depth-test.c
(revert): local_relpaths -> local_abspaths, with a dash of const.
Modified:
subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Modified: subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c?rev=1082307&r1=1082306&r2=1082307&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c Wed Mar 16 21:30:39 2011
@@ -1995,7 +1995,7 @@ revert(svn_test__sandbox_t *b,
{
const char *local_abspath = wc_path(b, local_relpath);
svn_error_t *err;
- apr_array_header_t *local_relpaths;
+ const apr_array_header_t *local_abspaths;
if (!before_actual)
{
@@ -2007,7 +2007,7 @@ revert(svn_test__sandbox_t *b,
SVN_ERR(insert_actual(b, before_actual));
SVN_ERR(check_db_rows(b, "", before_nodes));
SVN_ERR(check_db_actual(b, before_actual));
- err = svn_wc__db_op_revert(&local_relpaths,
+ err = svn_wc__db_op_revert(&local_abspaths,
b->wc_ctx->db, local_abspath, depth,
b->pool, b->pool);
if (err)