summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index f0ed09bd981..b909a433a73 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -770,6 +770,8 @@ ruby_connect(fd, sockaddr, len, socks)
errno = 0;
break;
#endif
+ default:
+ break;
}
}
#ifdef HAVE_FCNTL