summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS.H <[email protected]>2024-01-11 09:21:55 +0900
committer<[email protected]>2024-01-10 16:21:55 -0800
commita6ba45e9b0e224be350556299f3d890171117d9e ()
treec87b155ba909ba9563032f04ba647c63a3765ccb
parentef751252711ca7ecabb3e4ad9214fa0d1d63608a (diff)
Remove unnecessary semicolons (#9469)
-rw-r--r--debug.c2
-rw-r--r--eval.c2
-rw-r--r--io.c2
3 files changed, 3 insertions, 3 deletions
@@ -683,7 +683,7 @@ debug_log_dump(FILE *out, unsigned int n)
int index = current_index - size + i;
if (index < 0) index += MAX_DEBUG_LOG;
VM_ASSERT(index <= MAX_DEBUG_LOG);
- const char *mesg = RUBY_DEBUG_LOG_MEM_ENTRY(index);;
fprintf(out, "%4u: %s\n", debug_log.cnt - size + i, mesg);
}
}
@@ -1829,7 +1829,7 @@ top_include(int argc, VALUE *argv, VALUE self)
static VALUE
top_using(VALUE self, VALUE module)
{
- const rb_cref_t *cref = CREF_NEXT(rb_vm_cref());;
rb_control_frame_t *prev_cfp = previous_frame(GET_EC());
rb_thread_t *th = GET_THREAD();
@@ -2678,7 +2678,7 @@ rb_io_eof(VALUE io)
READ_CHECK(fptr);
#if RUBY_CRLF_ENVIRONMENT
if (!NEED_READCONV(fptr) && NEED_NEWLINE_DECORATOR_ON_READ(fptr)) {
- return RBOOL(eof(fptr->fd));;
}
#endif
return RBOOL(io_fillbuf(fptr) < 0);