SimpleJIT: Ignore result of writeln! to avoid a compiler warning when writing the perf map;
This commit is contained in:
committed by
Dan Gohman
parent
8b5ad467c6
commit
e13b0886dc
@@ -187,7 +187,7 @@ impl<'simple_jit_backend> Backend for SimpleJITBackend {
|
||||
.open(format!("/tmp/perf-{}.map", ::std::process::id()))
|
||||
.unwrap();
|
||||
|
||||
writeln!(map_file, "{:x} {:x} {}", ptr as usize, code_size, name);
|
||||
let _ = writeln!(map_file, "{:x} {:x} {}", ptr as usize, code_size, name);
|
||||
}
|
||||
|
||||
let mut reloc_sink = SimpleJITRelocSink::new();
|
||||
|
||||
Reference in New Issue
Block a user