Browse Source

Fix warning about field that is never read (#7898)

pull/7904/head
Nick Fitzgerald 9 months ago
committed by GitHub
parent
commit
0f55bdbb24
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      crates/cranelift/src/debug/transform/line_program.rs

4
crates/cranelift/src/debug/transform/line_program.rs

@ -23,7 +23,7 @@ enum SavedLineProgramRow {
epilogue_begin: bool,
isa: u64,
},
EndOfSequence(u64),
EndOfSequence,
}
#[derive(Debug)]
@ -167,7 +167,7 @@ where
saved_rows = Vec::new();
state = ReadLineProgramState::SequenceEnded;
SavedLineProgramRow::EndOfSequence(row.address())
SavedLineProgramRow::EndOfSequence
} else {
if state == ReadLineProgramState::SequenceEnded {
// Discard sequences for non-existent code.

Loading…
Cancel
Save