diff options
author | bje <bje> | 1998-07-12 15:08:46 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-12 15:08:46 +0000 |
commit | 14ddcb3dbf40fd94be9377112d24f65ca78d073d (patch) | |
tree | ce6455fd36e6912dc6759713e5b4f35dfb1c40da /mutex.c | |
parent | 98d13090d6fcf0f1646e2c037c83745805455d0a (diff) |
* mutex.c (pthread_mutexattr_destory): Simplify flow of control.
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -97,11 +97,9 @@ pthread_mutexattr_destroy(pthread_mutexattr_t *attr) { return EINVAL; } - else - { - free(attr->ptr); - return 0; - } + + free(attr->ptr); + return 0; } int |