Fix (incorrect) uninitialised variable warning.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Ben Laurie 2015-12-13 09:34:36 +00:00
parent 14e8e4d3e6
commit 4eacfadedc

View File

@ -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;