You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2021/02/22 00:17:03 UTC

svn commit: r1886776 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Author: kotkov
Date: Mon Feb 22 00:17:03 2021
New Revision: 1886776

URL: http://svn.apache.org/viewvc?rev=1886776&view=rev
Log:
* subversion/tests/libsvn_subr/io-test.c
  (test_install_stream_delete,
   test_install_stream_delete_after_finalize): Remove the unused 
   `final_abspath` variables.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/io-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/io-test.c?rev=1886776&r1=1886775&r2=1886776&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Mon Feb 22 00:17:03 2021
@@ -1228,7 +1228,6 @@ static svn_error_t *
 test_install_stream_delete(apr_pool_t *pool)
 {
   const char *tmp_dir;
-  const char *final_abspath;
   apr_pool_t *subpool;
   svn_stream_t *stream;
   apr_hash_t *dirents;
@@ -1238,8 +1237,6 @@ test_install_stream_delete(apr_pool_t *p
                                     "test_install_stream_delete",
                                     pool));
 
-  final_abspath = svn_dirent_join(tmp_dir, "stream1", pool);
-
   subpool = svn_pool_create(pool);
   SVN_ERR(svn_stream__create_for_install(&stream, tmp_dir, subpool, subpool));
   SVN_ERR(svn_stream_puts(stream, "stream1 content"));
@@ -1257,7 +1254,6 @@ static svn_error_t *
 test_install_stream_delete_after_finalize(apr_pool_t *pool)
 {
   const char *tmp_dir;
-  const char *final_abspath;
   apr_pool_t *subpool;
   svn_stream_t *stream;
   apr_hash_t *dirents;
@@ -1267,8 +1263,6 @@ test_install_stream_delete_after_finaliz
                                     "test_install_stream_delete_after_finalize",
                                     pool));
 
-  final_abspath = svn_dirent_join(tmp_dir, "stream1", pool);
-
   subpool = svn_pool_create(pool);
   SVN_ERR(svn_stream__create_for_install(&stream, tmp_dir, subpool, subpool));
   SVN_ERR(svn_stream_puts(stream, "stream1 content"));