diff options
Diffstat (limited to 'pthread_attr_getdetachstate.c')
-rw-r--r-- | pthread_attr_getdetachstate.c | 1 |
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; } |