From: Dmitry Kostjuchenko Date: Wed, 1 Feb 2017 10:51:34 +0000 (+0200) Subject: Grouped data declarations [skip ci] X-Git-Tag: OpenSSL_1_1_0e~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86d9b572e184262f8c14e8c31f87caa300691d39;p=oweals%2Fopenssl.git Grouped data declarations [skip ci] Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/1981) (cherry picked from commit bc1dba209533f2033a4de0d93380fc0f485e6f7e) --- 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;