Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cordx56 committed Feb 20, 2025
1 parent 307ee2f commit 38b1796
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rustowl/rustowl-core/src/analyze.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ where

fn live_range_from_region(&self, output: &PoloniusOutput) -> HashMap<Local, Vec<Range>> {
let mut region_locations = HashMap::new();
let mut region_locations_idc: HashMap<_, BTreeSet<_>> = HashMap::new();
for (location_idx, region_idc) in output.origin_live_on_entry.iter() {
for region_idx in region_idc {
let insert = match region_locations.get_mut(region_idx) {
Expand All @@ -479,7 +478,6 @@ where
self.location_table
.to_location(location_idx.as_usize().into()),
);
region_locations_idc.append(region_idx, *location_idx);
}
}

Expand Down

0 comments on commit 38b1796

Please sign in to comment.