Skip to content

Commit

Permalink
Fix the Mac build, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLovesYou committed Aug 22, 2015
1 parent 6cbef95 commit deff878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/sys/unix/backtrace/mod.rs
Expand Up @@ -107,6 +107,7 @@ pub fn output(w: &mut Write, idx: isize, addr: *mut libc::c_void,
w.write_all(&['\n' as u8])
}

#[allow(dead_code)]
pub fn output_fileline(w: &mut Write, file: &[u8], line: libc::c_int,
more: bool) -> io::Result<()> {
let file = str::from_utf8(file).unwrap_or("<unknown>");
Expand Down

0 comments on commit deff878

Please sign in to comment.