mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
Merge pull request #888 from tshepang/warnings
remove compiler warnings
This commit is contained in:
commit
b33a4f5b63
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