summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 021e0c2f42..45a4d0e00b 100644
--- a/string.c
+++ b/string.c
@@ -8090,7 +8090,7 @@ rb_str_enumerate_grapheme_clusters(VALUE str, int wantarray)
rb_encoding *enc = rb_enc_from_index(encidx);
int unicode_p = rb_enc_unicode_p(enc);
const char *ptr, *end;
- VALUE ary;
+ VALUE MAYBE_UNUSED(ary);
if (!unicode_p) {
return rb_str_enumerate_codepoints(str, wantarray);