mrubyを超漢字で動作させる
Revision | c7fad5aa33f77d1869d9b879c9f8aeb5e688d64c (tree) |
---|---|
Time | 2015-08-12 10:20:55 |
Author | go.kikuta <go.kikuta@akts...> |
Commiter | go.kikuta |
Remove duplicated RARRAY_LEN check
@@ -19,7 +19,6 @@ | ||
19 | 19 | static inline mrb_value |
20 | 20 | ary_elt(mrb_value ary, mrb_int offset) |
21 | 21 | { |
22 | - if (RARRAY_LEN(ary) == 0) return mrb_nil_value(); | |
23 | 22 | if (offset < 0 || RARRAY_LEN(ary) <= offset) { |
24 | 23 | return mrb_nil_value(); |
25 | 24 | } |