mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-26 16:01:15 -03:00
Suppress a deprecation warning on time_t
Continue to pull cirrus builds back into the land of the living.
This commit is contained in:
@@ -64,6 +64,7 @@ fn return_timezone_hour(tstamp: SystemTime, timezone: &wstr) -> libc::c_int {
|
||||
|
||||
let _var = vars.get(L!("TZ"));
|
||||
|
||||
#[allow(deprecated)]
|
||||
let tstamp: libc::time_t = tstamp
|
||||
.duration_since(UNIX_EPOCH)
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user