aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorKenta Murata <mrkn@users.noreply.github.com>2020-05-22 13:49:08 +0900
committerGitHub <noreply@github.com>2020-05-22 13:49:08 +0900
commitf4f157fc81b940c0f76a01ee266a08e6bba69b6b (patch)
tree357dca6cd03b7cdab65066c6bdfca03d8f5444e7 /array.c
parentac395754c7a0d082ab118fe4848886fa14467d39 (diff)
downloadruby-f4f157fc81b940c0f76a01ee266a08e6bba69b6b.tar.gz
Suppress warnings no inline ruby debug (#3107)
* Suppress unused warnings occurred due to -fno-inline * Suppress warning occurred due to RUBY_DEBUG=1
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 90fad544f1..e5de0841aa 100644
--- a/array.c
+++ b/array.c
@@ -5269,7 +5269,7 @@ static VALUE
flatten(VALUE ary, int level)
{
long i;
- VALUE stack, result, tmp, elt, vmemo;
+ VALUE stack, result, tmp = 0, elt, vmemo;
st_table *memo;
st_data_t id;