From a89633e3edcb249faf78b977b7633594f6e66067 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 6 Jun 2020 15:22:22 +0100 Subject: [PATCH] Remove return after `unreachable` --- core/os/os_darwin.odin | 1 - core/os/os_linux.odin | 1 - 2 files changed, 2 deletions(-) diff --git a/core/os/os_darwin.odin b/core/os/os_darwin.odin index 5bf433730..d3ad5bf66 100644 --- a/core/os/os_darwin.odin +++ b/core/os/os_darwin.odin @@ -416,7 +416,6 @@ get_current_directory :: proc() -> string { resize(&buf, len(buf)+page_size); } unreachable(); - return ""; } set_current_directory :: proc(path: string) -> (err: Errno) { diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin index d03c19ec4..6134933d5 100644 --- a/core/os/os_linux.odin +++ b/core/os/os_linux.odin @@ -448,7 +448,6 @@ get_current_directory :: proc() -> string { resize(&buf, len(buf)+page_size); } unreachable(); - return ""; } set_current_directory :: proc(path: string) -> (err: Errno) {