One semicolon is enough in C (#1892)

Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
pancake 2022-07-08 01:06:38 +02:00 committed by GitHub
parent b8db7913f3
commit f477dd4f70
2 changed files with 3 additions and 3 deletions

View File

@ -192,10 +192,10 @@ void ARM_getRegName(cs_struct *handle, int value)
{
if (value == CS_OPT_SYNTAX_NOREGNAME) {
handle->get_regname = getRegisterName_digit;
handle->reg_name = ARM_reg_name2;;
handle->reg_name = ARM_reg_name2;
} else {
handle->get_regname = getRegisterName;
handle->reg_name = ARM_reg_name;;
handle->reg_name = ARM_reg_name;
}
}

View File

@ -26,7 +26,7 @@ cs_err X86_global_init(cs_struct *ud)
ud->insn_id = X86_get_insn_id;
ud->insn_name = X86_insn_name;
ud->group_name = X86_group_name;
ud->post_printer = NULL;;
ud->post_printer = NULL;
#ifndef CAPSTONE_DIET
ud->reg_access = X86_reg_access;
#endif