fix building failure when using -Wconditional-uninitialized
authorfangming.fang <fangming.fang@arm.com>
Tue, 28 Dec 2021 04:13:21 +0000 (04:13 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 Jan 2022 08:59:31 +0000 (09:59 +0100)
commitabc4345a19430869b9a8925c6defc9e9ce977429
tree707e0e8d6bedc68db3314102b2289885faf8c509
parente06c0a2870c55aa4e66108ca071e7da7fd00b922
fix building failure when using -Wconditional-uninitialized

Use clang -Wconditional-uninitialized to build, the error "initialize
the variable 'buffer_size' to silence this warning" will be reported.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17375)
crypto/armcap.c