From 4ff2f42eeb69404d53a30525686a071bf16cf3b4 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 1 Aug 2003 07:02:54 +0000 Subject: * io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings. * ext/socket/socket.c (unix_send_io, unix_recv_io): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/socket.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/socket') diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 590d2c31b..13329eedc 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1565,6 +1565,7 @@ unix_send_io(sock, val) return Qnil; #else rb_notimplement(); + return Qnil; /* not reached */ #endif } @@ -1656,6 +1657,7 @@ unix_recv_io(argc, argv, sock) } #else rb_notimplement(); + return Qnil; /* not reached */ #endif } -- cgit