Remove unneeded statement in SET_OBJ_VALUE with boxing_word.h

`(r).value.bp` and `v` have the same value due to assignment of the line
preceding the removed line.
This commit is contained in:
KOBAYASHI Shuji
2019-06-19 17:50:20 +09:00
parent c53b7cedcc
commit 4d9d6faf0d
-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 */