1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use UNREACHABLE_RETURN for non-void function

This commit is contained in:
Nobuyoshi Nakada 2020-04-16 17:59:55 +09:00
parent 3eb05a8071
commit d4215dafea
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -6298,9 +6298,8 @@ unescape_ascii(unsigned int c)
return '\007';
case 'e':
return 033;
default:
UNREACHABLE;
}
UNREACHABLE_RETURN(-1);
}
static void