X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_rwlock_init.c;h=a2c0b478c78cf36ef7f15e4d65956e517c647221;hb=2d7d05f031e014068a61d3076c6178513395d2ae;hp=82df52e25b4dfe8aa06bd79dbe38cea0bc00a863;hpb=c6d441e3a246370d9c459396ec22b096db93850e;p=musl diff --git a/src/thread/pthread_rwlock_init.c b/src/thread/pthread_rwlock_init.c index 82df52e2..a2c0b478 100644 --- a/src/thread/pthread_rwlock_init.c +++ b/src/thread/pthread_rwlock_init.c @@ -3,7 +3,6 @@ int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a) { *rw = (pthread_rwlock_t){0}; - if (a) { - } + if (a) rw->_rw_shared = a->__attr[0]*128; return 0; }