Skip to content

Commit 5848620

Browse files
committed
fix unused variable warning
1 parent 58852fd commit 5848620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
243243
throw_unsup_format!("unknown `miri_backtrace_size` flags {}", flags);
244244
}
245245

246-
let (fn_instance, lo, name, filename) = this.resolve_frame_pointer(ptr)?;
246+
let (_, _, name, filename) = this.resolve_frame_pointer(ptr)?;
247247

248248
this.memory.write_bytes(this.read_pointer(name_ptr)?, name.bytes())?;
249249
this.memory.write_bytes(this.read_pointer(filename_ptr)?, filename.bytes())?;

0 commit comments

Comments
 (0)