mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
Merge pull request #269 from Jmeggesto/master
Fix unused return value in darwin.zig
This commit is contained in:
commit
0b942f5ee2
@ -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…
x
Reference in New Issue
Block a user