Fix unused return value in darwin.zig

This commit is contained in:
Jackie Meggesto 2017-03-02 19:14:44 -05:00
parent 6d0afc2bd2
commit 5bbde1dc91

View File

@ -49,7 +49,7 @@ pub const SIGSYS = 31;
pub const SIGUNUSED = SIGSYS;
pub fn exit(status: usize) -> unreachable {
arch.syscall1(arch.SYS_exit, status);
_ = arch.syscall1(arch.SYS_exit, status);
@unreachable()
}