@@ -198,11 +198,10 @@ struct Xaiger2Frontend : public Frontend {
198198
199199 int ci_counter = 0 ;
200200 for (uint32_t i = 0 ; i < no_boxes; i++) {
201- uint32_t box_inputs, box_outputs, box_id, box_seq;
202- box_inputs = read_be32 (*f);
203- box_outputs = read_be32 (*f);
204- box_id = read_be32 (*f);
205- box_seq = read_be32 (*f);
201+ /* unused box_inputs = */ read_be32 (*f);
202+ YS_MAYBE_UNUSED auto box_outputs = read_be32 (*f);
203+ /* unused box_id = */ read_be32 (*f);
204+ auto box_seq = read_be32 (*f);
206205
207206 log (" box_seq=%d boxes.size=%d\n " , box_seq, (int ) boxes.size ());
208207 log_assert (box_seq < boxes.size ());
@@ -337,11 +336,10 @@ struct Xaiger2Frontend : public Frontend {
337336 len, ci_num, co_num, pi_num, po_num, no_boxes);
338337
339338 for (uint32_t i = 0 ; i < no_boxes; i++) {
340- uint32_t box_inputs, box_outputs, box_id, box_seq;
341- box_inputs = read_be32 (*f);
342- box_outputs = read_be32 (*f);
343- box_id = read_be32 (*f);
344- box_seq = read_be32 (*f);
339+ YS_MAYBE_UNUSED auto box_inputs = read_be32 (*f);
340+ /* unused box_outputs = */ read_be32 (*f);
341+ /* unused box_id = */ read_be32 (*f);
342+ auto box_seq = read_be32 (*f);
345343
346344 log (" box_seq=%d boxes.size=%d\n " , box_seq, (int ) boxes.size ());
347345 log_assert (box_seq < boxes.size ());
0 commit comments