From 3197bffff478ad7ff5eff9220fa0528e42e6b56e Mon Sep 17 00:00:00 2001 From: Arlin Davis Date: Tue, 24 Nov 2009 22:15:46 -0800 Subject: [PATCH] winof scm: initialize opt for NODELAY setsockopt Signed-off-by: Arlin Davis --- dapl/openib_scm/cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c index 105351c..3201c9a 100644 --- a/dapl/openib_scm/cm.c +++ b/dapl/openib_scm/cm.c @@ -69,7 +69,7 @@ enum DAPL_FD_EVENTS { static int dapl_config_socket(DAPL_SOCKET s) { unsigned long nonblocking = 1; - int ret, opt; + int ret, opt = 1; ret = ioctlsocket(s, FIONBIO, &nonblocking); -- 2.41.0