diff options
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index bf3af171a2..5ad44cdcd8 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -424,7 +424,7 @@ sockopt_ipv4_multicast_loop(VALUE self) } #endif rb_raise(rb_eTypeError, "ipv4_multicast_loop socket option expected"); - UNREACHABLE; + UNREACHABLE_RETURN(Qnil); } #define inspect_ipv4_multicast_loop(a,b,c,d) \ @@ -475,7 +475,7 @@ sockopt_ipv4_multicast_ttl(VALUE self) } #endif rb_raise(rb_eTypeError, "ipv4_multicast_ttl socket option expected"); - UNREACHABLE; + UNREACHABLE_RETURN(Qnil); } #define inspect_ipv4_multicast_ttl(a,b,c,d) \ |