diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 00:55:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 00:55:28 +0000 |
commit | a6c8e8d15b31f724e9b5d3b8a5b2ff490c6950ef (patch) | |
tree | 042b00fef1fc84811325957aa1768ae7d829faab /process.c | |
parent | 644c36e9a6002913e780385abdea239a7f81c47f (diff) |
* configure.in: add -Wsuggest-attribute=noreturn and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2584,7 +2584,7 @@ rb_f_exec(int argc, const VALUE *argv) rb_exec_fail(eargp, err, errmsg); RB_GC_GUARD(execarg_obj); rb_syserr_fail_str(err, fail_str); - return Qnil; /* dummy */ + UNREACHABLE; } #define ERRMSG(str) do { if (errmsg && 0 < errmsg_buflen) strlcpy(errmsg, (str), errmsg_buflen); } while (0) |