Merge pull request #269 from Jmeggesto/master

Fix unused return value in darwin.zig
This commit is contained in:
Andrew Kelley 2017-03-02 19:21:58 -05:00 committed by GitHub
commit 0b942f5ee2

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()
}