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_1-pre1~2480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc1dba209533f2033a4de0d93380fc0f485e6f7e;p=openssl Grouped data declarations [skip ci] Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/1981) --- 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;