diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-16 17:59:55 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-16 17:59:55 +0900 |
| commit | d4215dafeadc64df236e136d35f6a26835c34aa5 (patch) | |
| tree | 2b361d558a59f6935b884126a35270ffff07486c | |
| parent | 3eb05a8071815cfbb2500e624ad675f324cc72fa (diff) | |
Use UNREACHABLE_RETURN for non-void function
| -rw-r--r-- | string.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6298,9 +6298,8 @@ unescape_ascii(unsigned int c) return '\007'; case 'e': return 033; - default: - UNREACHABLE; } + UNREACHABLE_RETURN(-1); } static void |
