Skip to content

Commit 43d879d

Browse files
committed
rb_file_join_fastpath: removed useless StringValueCStr
1 parent 19450d8 commit 43d879d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5350,7 +5350,6 @@ rb_file_join_fastpath(long argc, VALUE *args)
53505350

53515351
VALUE result = rb_str_buf_new(size);
53525352

5353-
StringValueCStr(args[0]);
53545353
int encidx = ENCODING_GET_INLINED(args[0]);
53555354
ENCODING_SET_INLINED(result, encidx);
53565355
rb_str_buf_append(result, args[0]);

0 commit comments

Comments
 (0)