aboutsummaryrefslogtreecommitdiff
path: root/src/tty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty.rs')
-rw-r--r--src/tty.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tty.rs b/src/tty.rs
index 4fcf065f..ca5fad78 100644
--- a/src/tty.rs
+++ b/src/tty.rs
@@ -329,6 +329,5 @@ unsafe fn set_nonblocking(fd: c_int) {
#[test]
fn test_get_pw_entry() {
let mut buf: [i8; 1024] = [0; 1024];
- let pw = get_pw_entry(&mut buf);
- println!("{:?}", pw);
+ let _pw = get_pw_entry(&mut buf);
}