Remove unneeded trailing semi-colons from `C` files
MODIFY
mrbgems/mruby-test-inline-struct/test/inline.c
mrbgems/mruby-test-inline-struct/test/inline.c
@@ -63,7 +63,7 @@ istruct_test_test_receive_direct(mrb_state *mrb, mrb_value self)
you need to care about class replacing.
See mrbgem/mruby-random/src/random.c for detail */
if (mrb_istruct_p(is) && mrb_obj_is_kind_of(mrb, is, klass)) {
- char *ptr = (char*)mrb_istruct_ptr(is);;
+ char *ptr = (char*)mrb_istruct_ptr(is);
return mrb_bool_value(ptr[0] == 's');
}
mrb_raise(mrb, E_TYPE_ERROR, "InlineStructTest");

MODIFY
src/symbol.c
src/symbol.c
@@ -111,7 +111,7 @@ sym_inline_unpack(mrb_sym sym, char *buf, mrb_int *lenp)
for (i=0; i<5; i++) {
uint32_t bits = sym>>(24-i*6) & 0x3f;
if (bits == 0) break;
- buf[i] = pack_table[bits-1];;
+ buf[i] = pack_table[bits-1];
}
buf[i] = '\0';
if (lenp) *lenp = i;

Remove unneeded trailing semi-colons from `C` files