From: Ben Laurie Date: Sun, 13 Dec 2015 09:34:36 +0000 (+0000) Subject: Fix (incorrect) uninitialised variable warning. X-Git-Tag: OpenSSL_1_1_0-pre2~243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eacfadedc790244017d88957cbba0f8626c2dbd;p=openssl Fix (incorrect) uninitialised variable warning. Reviewed-by: Richard Levitte --- diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index 0975856d59..5e934ce93c 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -1762,7 +1762,8 @@ int BIO_dgram_sctp_notification_cb(BIO *b, int BIO_dgram_sctp_wait_for_dry(BIO *b) { int is_dry = 0; - int n, sockflags, ret; + int sockflags = 0; + int n, ret; union sctp_notification snp; struct msghdr msg; struct iovec iov;