mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-27 16:01:47 -07:00
Fix missing return statement
This commit is contained in:
@@ -2186,6 +2186,7 @@ time :: proc "contextless" (tloc: ^uint) -> (Errno) {
|
||||
ts: Time_Spec
|
||||
ret := syscall(SYS_clock_gettime, Clock_Id.REALTIME, ts)
|
||||
tloc^ = ts.time_sec
|
||||
return Errno(-ret)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user