mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user