summaryrefslogtreecommitdiffstats
path: root/crypto/threads_pthread.c
diff options
context:
space:
mode:
authorDmitry Kostjuchenko <dmitrykos@neutroncode.com>2017-02-01 12:51:34 +0200
committerRichard Levitte <levitte@openssl.org>2017-02-03 13:51:06 +0100
commit86d9b572e184262f8c14e8c31f87caa300691d39 (patch)
treece7793262027ac450b1772931b205c7cddb6748b /crypto/threads_pthread.c
parentddb618d93bf6531c28618f1aabfdc064168fdbfc (diff)
Grouped data declarations [skip ci]
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1981) (cherry picked from commit bc1dba209533f2033a4de0d93380fc0f485e6f7e)
Diffstat (limited to 'crypto/threads_pthread.c')
-rw-r--r--crypto/threads_pthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c
index 5b10f438b9..151013e470 100644
--- a/crypto/threads_pthread.c
+++ b/crypto/threads_pthread.c
@@ -28,7 +28,6 @@ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)
}
# else
pthread_mutexattr_t attr;
-
CRYPTO_RWLOCK *lock = OPENSSL_zalloc(sizeof(pthread_mutex_t));
if (lock == NULL)
return NULL;