Skip to content

Commit 7bc4f34

Browse files
committed
Remove unused assignment
1 parent 55cf63c commit 7bc4f34

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/ir/comp.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -595,12 +595,8 @@ fn bitfields_to_allocation_units<E, I>(
595595

596596
// Now we're working on a fresh bitfield allocation unit, so reset
597597
// the current unit size and alignment.
598-
#[allow(unused_assignments)]
599-
{
600-
unit_size_in_bits = 0;
601-
offset = 0;
602-
unit_align = 0;
603-
}
598+
offset = 0;
599+
unit_align = 0;
604600
}
605601
} else {
606602
if offset != 0 &&

0 commit comments

Comments
 (0)