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 485353a619..73afd06e8d 100644
--- a/string.c
+++ b/string.c
@@ -6304,7 +6304,7 @@ static VALUE
rb_str_enumerate_bytes(VALUE str, int wantarray)
{
long i;
- VALUE ary = 0;
+ VALUE UNINITIALIZED_VAR(ary);
if (rb_block_given_p()) {
if (wantarray) {