Author: danielsh
Date: Wed Oct 12 16:39:28 2011
New Revision: 1182468
URL: http://svn.apache.org/viewvc?rev=1182468&view=rev
Log:
Follow-up to r1182467:
* subversion/tests/libsvn_subr/cache-test.c
(test_inprocess_cache_basic): Simplify. No functional change.
Modified:
subversion/trunk/subversion/tests/libsvn_subr/cache-test.c
Modified: subversion/trunk/subversion/tests/libsvn_subr/cache-test.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/cache-test.c?rev=1182468&r1=1182467&r2=1182468&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/cache-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/cache-test.c Wed Oct 12
16:39:28 2011
@@ -127,13 +127,6 @@ static svn_error_t *
test_inprocess_cache_basic(apr_pool_t *pool)
{
svn_cache__t *cache;
- svn_boolean_t thread_safe;
-
-#if APR_HAS_THREADS
- thread_safe = TRUE;
-#else
- thread_safe = FALSE;
-#endif
/* Create a cache with just one entry. */
SVN_ERR(svn_cache__create_inprocess(&cache,
@@ -142,7 +135,7 @@ test_inprocess_cache_basic(apr_pool_t *p
APR_HASH_KEY_STRING,
1,
1,
- thread_safe,
+ APR_HAS_THREADS,
"",
pool));