]> git.ipfire.org Git - thirdparty/openssl.git/commit
bio_dgram_test.c: Fix warning from older clang compilers
authorTomas Mraz <tomas@openssl.org>
Wed, 7 Sep 2022 06:41:05 +0000 (08:41 +0200)
committerPauli <pauli@openssl.org>
Thu, 8 Sep 2022 22:56:41 +0000 (08:56 +1000)
commit18274e1d6e10081fb7974e40f595e9a1d3224296
tree1f8db778109ea2c3ccc5187c01e9070295104902
parenta4b7136ebfd154636f607c50aaeec778a75b2d26
bio_dgram_test.c: Fix warning from older clang compilers

Older clang compilers warn about the initializer:

test/bio_dgram_test.c:107:29: error: suggest braces around initialization
 of subobject [-Werror,-Wmissing-braces]
    struct in6_addr ina6 = {0};
                            ^
                            {}

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19152)
test/bio_dgram_test.c