From f6553db591447f1451b8ba398edad354fc7c31a5 Mon Sep 17 00:00:00 2001 From: Scott Vokes Date: Tue, 17 Oct 2023 16:58:20 -0400 Subject: [PATCH] Remove unused variable, only present for assert. --- src/libfsm/print/vmc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libfsm/print/vmc.c b/src/libfsm/print/vmc.c index a2f449f89..e4d0b36aa 100644 --- a/src/libfsm/print/vmc.c +++ b/src/libfsm/print/vmc.c @@ -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 */ @@ -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; } @@ -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; }