From 5bbde1dc91a0b6b6f4357ad7bf844a57ffe7283e Mon Sep 17 00:00:00 2001 From: Jackie Meggesto Date: Thu, 2 Mar 2017 19:14:44 -0500 Subject: [PATCH] Fix unused return value in darwin.zig --- std/darwin.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/darwin.zig b/std/darwin.zig index c1697fd10d..36a84bd73a 100644 --- a/std/darwin.zig +++ b/std/darwin.zig @@ -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() }