[openssl/openssl] 18274e: bio_dgram_test.c: Fix warning from older clang com...

Tomáš Mráz noreply at github.com
Thu Sep 8 22:58:48 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 18274e1d6e10081fb7974e40f595e9a1d3224296
      https://github.com/openssl/openssl/commit/18274e1d6e10081fb7974e40f595e9a1d3224296
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M test/bio_dgram_test.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19152)




More information about the openssl-commits mailing list