Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
grtcdr committed Oct 6, 2023
1 parent 1a2364e commit 29f9a0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ impl GeneralReadout for NetBSDGeneralReadout {
}

fn hostname(&self) -> Result<String, ReadoutError> {
let mut buf = [0u8; 64];
let hostname_cstr = unistd::gethostname();
match hostname_cstr {
Ok(hostname_cstr) => {
Expand Down

0 comments on commit 29f9a0b

Please sign in to comment.