From bc1dba209533f2033a4de0d93380fc0f485e6f7e Mon Sep 17 00:00:00 2001 From: Dmitry Kostjuchenko Date: Wed, 1 Feb 2017 12:51:34 +0200 Subject: Grouped data declarations [skip ci] Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/1981) --- crypto/threads_pthread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'crypto/threads_pthread.c') 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; -- cgit v1.2.3