Remove unneeded trailing semi-colons from C files

This commit is contained in:
John Bampton
2022-10-26 20:06:58 +10:00
parent 52a3dc2153
commit 664c9e533b
2 changed files with 2 additions and 2 deletions
@@ -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");
+1 -1
View File
@@ -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;