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:48:44 +0100
commitbc1dba209533f2033a4de0d93380fc0f485e6f7e (patch)
tree6eb3a3add01daf5eb5df4fa8fa671750df2f10f7 /crypto/threads_pthread.c
parent5d5eed4456ebc035893eedbcc4e32a9d065cecb3 (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)
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;