summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2007-10-13 15:21:40 +0000
committerrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2007-10-13 15:21:40 +0000
commita782ac3f0f9210e52544e064e09adce7503d8741 (patch)
tree5f760e5c8a80c6e85ac847c7755eb7448b4166e5 /threadproc
parent4f00d2b6b1cbe5d34f5d693890a1f87f55f0f348 (diff)
downloadlibapr-a782ac3f0f9210e52544e064e09adce7503d8741.tar.gz
* Remove unnecessary assignment of pool attribute.
Submitted by: Lucian Adrian Grijincu <lucian.grijincu gmail.com> Reviewed by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/beos/thread.c1
-rw-r--r--threadproc/netware/thread.c1
-rw-r--r--threadproc/os2/thread.c1
-rw-r--r--threadproc/unix/thread.c1
-rw-r--r--threadproc/win32/thread.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c
index 629c86def..8d8383942 100644
--- a/threadproc/beos/thread.c
+++ b/threadproc/beos/thread.c
@@ -80,7 +80,6 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new, apr_threadattr_t
return APR_ENOMEM;
}
- (*new)->pool = pool;
(*new)->data = data;
(*new)->func = func;
(*new)->exitval = -1;
diff --git a/threadproc/netware/thread.c b/threadproc/netware/thread.c
index dcf4993db..4b5d930a0 100644
--- a/threadproc/netware/thread.c
+++ b/threadproc/netware/thread.c
@@ -103,7 +103,6 @@ apr_status_t apr_thread_create(apr_thread_t **new,
return APR_ENOMEM;
}
- (*new)->pool = pool;
(*new)->data = data;
(*new)->func = func;
(*new)->thread_name = (char*)apr_pstrdup(pool, threadName);
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c
index c1c35219d..00ec4eb5c 100644
--- a/threadproc/os2/thread.c
+++ b/threadproc/os2/thread.c
@@ -88,7 +88,6 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new, apr_threadattr_t
return APR_ENOMEM;
}
- thread->pool = pool;
thread->attr = attr;
thread->func = func;
thread->data = data;
diff --git a/threadproc/unix/thread.c b/threadproc/unix/thread.c
index f62856d0e..0d5c3e2af 100644
--- a/threadproc/unix/thread.c
+++ b/threadproc/unix/thread.c
@@ -163,7 +163,6 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new,
return APR_ENOMEM;
}
- (*new)->pool = pool;
(*new)->data = data;
(*new)->func = func;
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c
index 63dde0130..e963e9aa3 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -94,7 +94,6 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new,
return APR_ENOMEM;
}
- (*new)->pool = pool;
(*new)->data = data;
(*new)->func = func;
(*new)->td = NULL;