summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-string-ext/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-18 17:14:00 +0900
committerGitHub <[email protected]>2019-09-18 17:14:00 +0900
commitc20dda4f4c72f2da10194a417bbca6cf6f5457c2 (patch)
tree3f740769569d04a1c6490fc5bc5c6a23318f3326 /mrbgems/mruby-string-ext/src
parentca2d47c20f91dc0ceec72052c28717bb0d7a74ef (diff)
parent0bedd900b9625108dc45883d9f82b0d783b10a9a (diff)
downloadmruby-c20dda4f4c72f2da10194a417bbca6cf6f5457c2.tar.gz
mruby-c20dda4f4c72f2da10194a417bbca6cf6f5457c2.zip
Merge pull request #4719 from shuujii/remove-unneeded-mrb_get_args
Remove `mrb_get_args(mrb, "")`; ref 30f37872
Diffstat (limited to 'mrbgems/mruby-string-ext/src')
-rw-r--r--mrbgems/mruby-string-ext/src/string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c
index f1d31888d..642989d29 100644
--- a/mrbgems/mruby-string-ext/src/string.c
+++ b/mrbgems/mruby-string-ext/src/string.c
@@ -1181,8 +1181,6 @@ mrb_str_lines(mrb_state *mrb, mrb_value self)
char *p = b, *t;
char *e = b + RSTRING_LEN(self);
- mrb_get_args(mrb, "");
-
result = mrb_ary_new(mrb);
ai = mrb_gc_arena_save(mrb);
while (p < e) {