Merge pull request #4517 from shuujii/remove-unneeded-statement-in-SET_OBJ_VALUE-with-boxing_word.h

Remove unneeded statement in `SET_OBJ_VALUE` with `boxing_word.h`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-06-25 20:32:39 +09:00
committed by GitHub
-1
View File
@@ -141,7 +141,6 @@ mrb_type(mrb_value o)
#define SET_OBJ_VALUE(r,v) do { \
(r).w = 0; \
(r).value.p = (v); \
if ((r).value.bp) (r).value.bp->tt = ((struct RObject*)(v))->tt; \
} while (0)
#endif /* MRUBY_BOXING_WORD_H */