summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 15:03:04 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 15:03:04 (GMT)
commit565ce9b3790f8de97438683d900a4cd5fab93ca4 (patch)
tree190dc9f818948698dfc3ebbeb5888317ecb6e2e9 /eval.c
parent29fc4912fb2241a277177ff0c01bc5b1341ce230 (diff)
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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index a80940e..1cf75c4 100644
--- a/eval.c
+++ b/eval.c
@@ -471,7 +471,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg, VALUE cause)
{
VALUE at;
VALUE e;
- const char *file;
+ const char *file = 0;
volatile int line = 0;
int nocause = 0;