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

eval.c: suppress a warning

* eval.c (setup_exception): suppress a maybe-uninitialized false
  warning by gcc 4.8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-06-26 15:03:04 +00:00
parent 29fc4912fb
commit 565ce9b379

2
eval.c
View file

@ -471,7 +471,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg, VALUE cause)
{ {
VALUE at; VALUE at;
VALUE e; VALUE e;
const char *file; const char *file = 0;
volatile int line = 0; volatile int line = 0;
int nocause = 0; int nocause = 0;