1
Fork 0
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:
Tshepang Lekhonkhobe 2016-05-24 22:30:48 +02:00
parent ccf604f1f9
commit 1476446ddf
2 changed files with 2 additions and 3 deletions

View file

@ -204,9 +204,9 @@ fn display_permissions(metadata: &Metadata) -> String {
}
#[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()
}

View file

@ -18,7 +18,6 @@ extern crate uucore;
use std::io::{ErrorKind, Write};
use std::process::{Command, Stdio};
use std::os::unix::process::ExitStatusExt;
use uucore::process::ChildExt;
extern {