mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
Fix unused return value in darwin.zig
This commit is contained in:
parent
6d0afc2bd2
commit
5bbde1dc91
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user