Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Feb 9, 2024
1 parent 86660ea commit ad55f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ impl PcFiles {
}
/// Locate which PcFile contains this library, if any.
fn locate_pc_file_by_lib(&self, lib: &str) -> Option<&PcFile> {
for (id, pc_file) in &self.files {
for (_, pc_file) in &self.files {
if pc_file.libs.contains(&lib.to_owned()) {
return Some(pc_file);
}
Expand Down

0 comments on commit ad55f07

Please sign in to comment.