summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/comp.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ir/comp.rs b/src/ir/comp.rs
index 56e41d52..f3c986e7 100644
--- a/src/ir/comp.rs
+++ b/src/ir/comp.rs
@@ -595,12 +595,8 @@ fn bitfields_to_allocation_units<E, I>(
// Now we're working on a fresh bitfield allocation unit, so reset
// the current unit size and alignment.
- #[allow(unused_assignments)]
- {
- unit_size_in_bits = 0;
- offset = 0;
- unit_align = 0;
- }
+ offset = 0;
+ unit_align = 0;
}
} else {
if offset != 0 &&