summaryrefslogtreecommitdiff
path: root/test/testthread.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-07-27 19:21:39 +0000
committerRyan Bloom <rbb@apache.org>2001-07-27 19:21:39 +0000
commitfe4f0374ffab1e32de0ee53a50753c59dcec4aa8 (patch)
treed86418c65ca314a18a341de2f1a73887bb15620c /test/testthread.c
parent0838ff034a223571e454211f92f553924eee4e12 (diff)
downloadapr-fe4f0374ffab1e32de0ee53a50753c59dcec4aa8.tar.gz
Remove unused pool variables from the testthread code.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testthread.c')
-rw-r--r--test/testthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/testthread.c b/test/testthread.c
index 5bf9a27b6..a9a9b22f2 100644
--- a/test/testthread.c
+++ b/test/testthread.c
@@ -87,7 +87,6 @@ apr_status_t exit_ret_val = 123; /* just some made up number to check on later *
void * APR_THREAD_FUNC thread_func1(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -100,7 +99,6 @@ void * APR_THREAD_FUNC thread_func1(apr_thread_t *thd, void *data)
void * APR_THREAD_FUNC thread_func2(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -113,7 +111,6 @@ void * APR_THREAD_FUNC thread_func2(apr_thread_t *thd, void *data)
void * APR_THREAD_FUNC thread_func3(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -126,7 +123,6 @@ void * APR_THREAD_FUNC thread_func3(apr_thread_t *thd, void *data)
void * APR_THREAD_FUNC thread_func4(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;