From 565ce9b3790f8de97438683d900a4cd5fab93ca4 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Jun 2014 15:03:04 +0000 Subject: 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 --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.c b/eval.c index a80940e20d..1cf75c458c 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; -- cgit v1.2.3