From 14636b4b1e79a74b1dd47909df91841964ac78b8 Mon Sep 17 00:00:00 2001 From: job <> Date: Mon, 11 Sep 2023 00:50:47 +0000 Subject: Back out superfluous initialization requested by jsing@ --- src/lib/libcrypto/x509/x509_addr.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c index 735891fd20..a0da2af6f6 100644 --- a/src/lib/libcrypto/x509/x509_addr.c +++ b/src/lib/libcrypto/x509/x509_addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_addr.c,v 1.88 2023/09/06 15:53:07 job Exp $ */ +/* $OpenBSD: x509_addr.c,v 1.89 2023/09/11 00:50:47 job Exp $ */ /* * Contributed to the OpenSSL Project by the American Registry for * Internet Numbers ("ARIN"). @@ -676,10 +676,9 @@ i2r_IPAddrBlocks(const X509V3_EXT_METHOD *method, void *ext, BIO *out, { const IPAddrBlocks *addr = ext; IPAddressFamily *af; - uint16_t afi = 0; - uint8_t safi = 0; - int safi_is_set = 0; - int i; + uint16_t afi; + uint8_t safi; + int i, safi_is_set; for (i = 0; i < sk_IPAddressFamily_num(addr); i++) { af = sk_IPAddressFamily_value(addr, i); -- cgit v1.2.3-55-g6feb