mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 21:10:30 +00:00
Remove return after unreachable
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user