summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-16 00:54:54 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-16 00:54:54 +0000
commit429ad453f8b014056e7bdc4fb128a0cd37a152e7 (patch)
tree47bce7271001259512e35b42d74cd5b438176d48
parente5de410caf23f00ab3e12d2cd1d20b5d5ac1b48b (diff)
* ext/socket/socket.c (s_recvform): avoid VC++6 warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/socket.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c03bc94969..931a1b2ec6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 16 09:53:28 2001 Usaku Nakamura <usa@ruby-lang.org>
+
+ * ext/socket/socket.c (s_recvform): avoid VC++6 warning.
+
Thu Aug 16 03:50:33 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (NtCmdGlob): avoid VC++ warning.
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index da30898e0d..9e91d1fcbe 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -476,6 +476,8 @@ s_recvfrom(sock, argc, argv, from)
#endif
case RECV_SOCKET:
return rb_assoc_new(str, rb_tainted_str_new(buf, alen));
+ default:
+ rb_bug("s_recvform called with bad value");
}
}