Skip to content

Commit

Permalink
Remove unused variable, only present for assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
silentbicycle committed Oct 17, 2023
1 parent d407ad5 commit f6553db
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libfsm/print/vmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ check_fetch_sequence_FOR_LOOP(struct dfavm_op_ir *op,
{
struct dfavm_op_ir *dest_arg = NULL;
uint32_t dest_state = (uint32_t)-1;
enum dfavm_op_cmp cmp;
char cmp_arg;

/* branch */
Expand All @@ -280,8 +279,6 @@ check_fetch_sequence_FOR_LOOP(struct dfavm_op_ir *op,
return 0;
}

cmp = op->cmp;

if (op->num_incoming > 0) {
return 0;
}
Expand All @@ -306,9 +303,6 @@ check_fetch_sequence_FOR_LOOP(struct dfavm_op_ir *op,
break;
}

assert(op->cmp == VM_CMP_ALWAYS);
(void)op->cmp;

if (op->num_incoming > 0) {
break;
}
Expand Down

0 comments on commit f6553db

Please sign in to comment.