mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 21:49:46 +00:00
One semicolon is enough in C (#1892)
Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
parent
b8db7913f3
commit
f477dd4f70
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user