diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-06 06:22:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-06 06:22:59 +0000 |
commit | b6ddf55de9a8cecadce44a548ffd5c8200af96c7 (patch) | |
tree | d06d5975d667e02186b106f58ac2414241eed11b /eval.c | |
parent | 42b4e02760c725e1a426b6845695ecdbc8fe3e3b (diff) |
* eval.c (rb_interrupt): suppress a gcc's officious warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4625,7 +4625,8 @@ rb_exc_fatal(mesg) void rb_interrupt() { - rb_raise(rb_eInterrupt, ""); + static const char fmt[1] = {'\0'}; + rb_raise(rb_eInterrupt, fmt); } /* |