diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-31 15:23:56 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-31 15:23:56 -0700 |
commit | 7bc4f34ab6a1361ac7232a99da794873a3feaffc (patch) | |
tree | 11b74d9bd627a83025cbcc74aa1d32c29af2dd78 | |
parent | 55cf63c08c539df2a8c5437c062dda5fb57a8b18 (diff) |
Remove unused assignment
-rw-r--r-- | src/ir/comp.rs | 8 |
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 && |