Skip to content

Commit

Permalink
Fix unused code warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Salvador <[email protected]>
  • Loading branch information
otavio committed Sep 5, 2019
1 parent d0b23f3 commit 56b0cd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2410,6 +2410,10 @@ pub fn access<P: ?Sized + NixPath>(path: &P, amode: AccessFlags) -> Result<()> {
Errno::result(res).map(drop)
}

#[cfg(not(any(target_os = "android",
target_os = "ios",
target_os = "macos",
target_env = "musl")))]
/// Default buffer size for system user and group querying functions
const PWGRP_BUFSIZE: usize = 1024;

Expand Down

0 comments on commit 56b0cd1

Please sign in to comment.