summaryrefslogtreecommitdiff
path: root/pthread_attr_getdetachstate.c
diff options
context:
space:
mode:
authorrpj <rpj>2008-06-06 00:23:20 +0000
committerrpj <rpj>2008-06-06 00:23:20 +0000
commitc99326aa8dc2797567ec48ca18ab413ec2fd4fe5 (patch)
tree1c10d3834640ac3342de7c363c476394b9491523 /pthread_attr_getdetachstate.c
parent8bee08a26f41b39ce14cae9cdab486d3265349f7 (diff)
''
Diffstat (limited to 'pthread_attr_getdetachstate.c')
-rw-r--r--pthread_attr_getdetachstate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pthread_attr_getdetachstate.c b/pthread_attr_getdetachstate.c
index 978f288..188533b 100644
--- a/pthread_attr_getdetachstate.c
+++ b/pthread_attr_getdetachstate.c
@@ -78,7 +78,6 @@ pthread_attr_getdetachstate (const pthread_attr_t * attr, int *detachstate)
{
if (ptw32_is_attr (attr) != 0 || detachstate == NULL)
{
- *detachstate = PTHREAD_CREATE_DETACHED;
return EINVAL;
}