summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-18 01:37:46 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-18 01:37:46 +0000
commitb5bb5ed0dbe0100d18b119f5076a67acee0bbbbe (patch)
tree95ec35bf7349e174843bf357e7d78208048a5fef /io.c
parente4c9a70c9693d73c5d46f7d6cfce0b7e65d696c7 (diff)
io.c (novl_wait_for_single_fd): VM_UNREACHABLE instead of assert
This respects VM_CHECK_MODE and is more consistent with the rest of our code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 32629165cf..dc172efc9c 100644
--- a/io.c
+++ b/io.c
@@ -10725,7 +10725,7 @@ nogvl_wait_for_single_fd(int fd, short events)
ret = rb_fd_select(fd + 1, 0, &fds, 0, 0);
break;
default:
- assert(0 && "not supported yet, should never get here");
+ VM_UNREACHABLE(nogvl_wait_for_single_fd);
}
rb_fd_term(&fds);