mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
date: unneeded 'return' statement
This commit is contained in:
parent
d0512618d5
commit
09178360d8
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ fn set_system_datetime(_date: DateTime<Utc>) -> i32 {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
fn set_system_datetime(_date: DateTime<Utc>) -> i32 {
|
fn set_system_datetime(_date: DateTime<Utc>) -> i32 {
|
||||||
eprintln!("date: setting the date is not supported by macOS");
|
eprintln!("date: setting the date is not supported by macOS");
|
||||||
return 1;
|
1
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "macos")))]
|
#[cfg(all(unix, not(target_os = "macos")))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue