summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-06-25 20:32:39 +0900
committerGitHub <[email protected]>2019-06-25 20:32:39 +0900
commita4124a31131e1e64eea3dc1763533cf44a5c7d6b (patch)
treebeb5293b89db985472482e93c341dc46dbda715a /include
parente59a80c787ba9d21ff472f8bce12da4664557f56 (diff)
parent4d9d6faf0d5890eca2b6407fe53531ea19450b3d (diff)
downloadmruby-a4124a31131e1e64eea3dc1763533cf44a5c7d6b.tar.gz
mruby-a4124a31131e1e64eea3dc1763533cf44a5c7d6b.zip
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`
Diffstat (limited to 'include')
-rw-r--r--include/mruby/boxing_word.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mruby/boxing_word.h b/include/mruby/boxing_word.h
index 2fb84052a..f16968a1f 100644
--- a/include/mruby/boxing_word.h
+++ b/include/mruby/boxing_word.h
@@ -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 */