Silence gcc initializer warning.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-04-13 11:22:54 +09:00
parent 1905091634
commit 4b09c7364e
+1 -1
View File
@@ -101,7 +101,7 @@ static inline void
stack_clear(mrb_value *from, size_t count)
{
#ifndef MRB_NAN_BOXING
const mrb_value mrb_value_zero = { { 0 } };
const mrb_value mrb_value_zero = { 0 };
while (count-- > 0) {
*from++ = mrb_value_zero;