From 43d879d3aca3287f47d18ecdd8660965df24e3d3 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Sun, 18 Jan 2026 16:43:07 +0100 Subject: [PATCH] rb_file_join_fastpath: removed useless StringValueCStr --- file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/file.c b/file.c index a47cc32acd..2ed3672ea7 100644 --- a/file.c +++ b/file.c @@ -5350,7 +5350,6 @@ rb_file_join_fastpath(long argc, VALUE *args) VALUE result = rb_str_buf_new(size); - StringValueCStr(args[0]); int encidx = ENCODING_GET_INLINED(args[0]); ENCODING_SET_INLINED(result, encidx); rb_str_buf_append(result, args[0]);