summaryrefslogtreecommitdiff
path: root/threadproc/beos/thread.c
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-06-17 11:11:40 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-06-17 11:11:40 +0000
commite6f285edddd48f54105d8fd574e5580f97fd7da9 (patch)
treebcfd297de7bfa59f6bcdc02788affa0bdd7ee362 /threadproc/beos/thread.c
parent1b564a1d5bb03dd5fa95f526b3cec0fe0700c31d (diff)
downloadlibapr-e6f285edddd48f54105d8fd574e5580f97fd7da9.tar.gz
Tidy up some warnings in the threadproc directory.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/beos/thread.c')
-rw-r--r--threadproc/beos/thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c
index 85988eb93..0793f1e80 100644
--- a/threadproc/beos/thread.c
+++ b/threadproc/beos/thread.c
@@ -56,8 +56,6 @@
ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_pool_t *cont)
{
- ap_status_t stat;
-
(*new) = (ap_threadattr_t *)ap_palloc(cont,
sizeof(ap_threadattr_t));
(*new)->attr = (int32)ap_palloc(cont,
@@ -135,6 +133,7 @@ ap_status_t ap_thread_exit(ap_thread_t *thd, ap_status_t *retval)
{
ap_destroy_pool(thd->cntxt);
exit_thread ((status_t)retval);
+ return APR_SUCCESS;
}
ap_status_t ap_thread_join(ap_status_t *retval, ap_thread_t *thd)