Remove useless semicolon

This commit is contained in:
wargio 2024-03-25 14:58:38 +08:00 committed by Anton Kochkov
parent 39278ab891
commit c53b053b61
10 changed files with 0 additions and 10 deletions

View file

@ -1267,7 +1267,6 @@ static RzILOpEffect *sh_il_shld(const SHOp *op, ut64 pc, RzAnalysis *analysis, S
RzILOpPure *shr = SHIFTR0(sh_il_get_pure_param(1), NEG(VARL("shift_")));
return SEQ2(shift_amount, BRANCH(SGE(sh_il_get_pure_param(0), SN(32, 0)), sh_il_set_pure_param(1, shl), sh_il_set_pure_param(1, shr)));
;
}
/**

View file

@ -2578,7 +2578,6 @@ static void anop(RzAnalysis *a, RzAnalysisOp *op, ut64 addr, const ut8 *buf, int
op->refptr = INSOP(1).size;
if (INSOP(1).mem.base == X86_REG_RIP) {
op->ptr = addr + insn->size + op->disp;
;
} else if (INSOP(1).mem.base == X86_REG_RBP || INSOP(1).mem.base == X86_REG_EBP) {
op->type |= RZ_ANALYSIS_OP_TYPE_REG;
op->stackop = RZ_ANALYSIS_STACK_SET;

View file

@ -2494,7 +2494,6 @@ static int oppush(RzAsm *a, ut8 *data, const Opcode *op) {
int l = 0;
int mod = 0;
st32 immediate = 0;
;
st32 offset = 0;
if (op->operands[0].type & OT_GPREG &&
!(op->operands[0].type & OT_MEMORY)) {

View file

@ -1167,7 +1167,6 @@ RzList /*<RzBinWasmElementEntry *>*/ *rz_bin_wasm_get_elements(RzBinWasmObj *bin
RzList /*<RzBinWasmCodeEntry *>*/ *rz_bin_wasm_get_codes(RzBinWasmObj *bin) {
RzBinWasmSection *code = NULL;
;
RzList *codes = NULL;
if (!bin || !bin->g_sections) {

View file

@ -3225,7 +3225,6 @@ RZ_API void rz_core_analysis_paths(RzCore *core, ut64 from, ut64 to, bool follow
rcap.toBB = b1;
rcap.cur = b0;
rcap.count = rz_config_get_i(core->config, "search.maxhits");
;
rcap.followCalls = followCalls;
rcap.followDepth = followDepth;

View file

@ -742,7 +742,6 @@ static RzList /*<RzCoreAsmHit *>*/ *rz_core_asm_back_disassemble_all(RzCore *cor
static RzList /*<RzCoreAsmHit *>*/ *rz_core_asm_back_disassemble(RzCore *core, ut64 addr, int len, ut64 max_hit_count, ut8 disassmble_each_addr, ut32 extra_padding) {
RzList *hits;
;
RzAsmOp op;
ut8 *buf = NULL;
ut8 max_invalid_b4_exit = 4,

View file

@ -1093,7 +1093,6 @@ static RzList /*<RzDebugMap *>*/ *rz_debug_native_map_get(RzDebug *dbg) {
}
#else
ut64 offset = 0;
;
// 7fc8124c4000-7fc81278d000 r--p 00000000 fc:00 17043921 /usr/lib/locale/locale-archive
i = sscanf(line, "%" RZ_STR_DEF(PROC_REGION_LEFT_SZ) "s %" RZ_STR_DEF(PROC_PERM_SZ) "s %08" PFMT64x " %*s %*s %" RZ_STR_DEF(PROC_NAME_SZ) "[^\n]", &region[2], perms, &offset, name);
if (i == 3) {

View file

@ -503,7 +503,6 @@ RzList *bsd_desc_list(int pid) {
if (kve->kf_sock_domain == AF_LOCAL) {
struct sockaddr_un *sun =
(struct sockaddr_un *)&kve->kf_un.kf_sock.kf_sa_local;
;
if (sun->sun_path[0] != 0)
addr_to_string(&kve->kf_un.kf_sock.kf_sa_local, path, sizeof(path));
else

View file

@ -333,7 +333,6 @@ RZ_API void rz_big_div(RzNumBig *c, RzNumBig *a, RzNumBig *b) {
RzNumBig *current = rz_big_new();
RzNumBig *denom = rz_big_new();
;
RzNumBig *tmp = rz_big_new();
int sign = a->sign * b->sign;

View file

@ -525,7 +525,6 @@ RZ_API char *rz_table_tostring(RzTable *t) {
if (t->showJSON) {
char *s = rz_table_tojson(t);
char *q = rz_str_newf("%s\n", s);
;
free(s);
return q;
}