Fix (incorrect) uninitialised variable warning.
authorBen Laurie <ben@links.org>
Sun, 13 Dec 2015 09:34:36 +0000 (09:34 +0000)
committerBen Laurie <ben@links.org>
Sun, 13 Dec 2015 12:44:46 +0000 (12:44 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/bss_dgram.c

index 0975856d59aa40bb0fc3e1e4744092f4be324828..5e934ce93cca734d458b298fbedac8d573a5c8c0 100644 (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;