mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
remove compiler warnings
This commit is contained in:
parent
ccf604f1f9
commit
1476446ddf
2 changed files with 2 additions and 3 deletions
|
@ -204,9 +204,9 @@ fn display_permissions(metadata: &Metadata) -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_family = "unix")]
|
#[cfg(target_family = "unix")]
|
||||||
fn display_permissions(metadata: &Metadata) -> String {
|
|
||||||
use std::os::unix::fs::PermissionsExt;
|
|
||||||
|
|
||||||
|
fn display_permissions(_metadata: &Metadata) -> String {
|
||||||
|
//use std::os::unix::fs::PermissionsExt;
|
||||||
"xxxxxxxxx".to_string()
|
"xxxxxxxxx".to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ extern crate uucore;
|
||||||
|
|
||||||
use std::io::{ErrorKind, Write};
|
use std::io::{ErrorKind, Write};
|
||||||
use std::process::{Command, Stdio};
|
use std::process::{Command, Stdio};
|
||||||
use std::os::unix::process::ExitStatusExt;
|
|
||||||
use uucore::process::ChildExt;
|
use uucore::process::ChildExt;
|
||||||
|
|
||||||
extern {
|
extern {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue