Unverified Commit c34aa8a6 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4197 from shuujii/suppress-struct-initializer-warn

Suppress a struct initializer warning
parents 2fbea74d b0dc163b
...@@ -101,7 +101,7 @@ static inline void ...@@ -101,7 +101,7 @@ static inline void
stack_clear(mrb_value *from, size_t count) stack_clear(mrb_value *from, size_t count)
{ {
#ifndef MRB_NAN_BOXING #ifndef MRB_NAN_BOXING
const mrb_value mrb_value_zero = { 0 }; const mrb_value mrb_value_zero = { { 0 } };
while (count-- > 0) { while (count-- > 0) {
*from++ = mrb_value_zero; *from++ = mrb_value_zero;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment