fix: remove unused digest field from Settings struct

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-26 23:52:07 -03:00
parent 560acc0235
commit 6e8ff406c8
4 changed files with 2 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ impl Hasher {
fn update(&mut self, data: &[u8]) {
match self {
Hasher::Md5(hasher) => {
hasher.write(data);
let _ = hasher.write(data);
},
Hasher::Sha256(hasher) => hasher.update(data),
Hasher::Sha512(hasher) => hasher.update(data),

View File

@@ -81,7 +81,7 @@ impl HostnameMetaPlugin {
// If no reverse lookup worked, but we have addresses, try to construct FQDN
// from the first address's domain if the short hostname is part of a domain
if let Some(first_addr) = addrs.first() {
if let Some(_first_addr) = addrs.first() {
// For local addresses, we might not get a reverse lookup, so try to infer
// from the system's domain name
if let Ok(domain) = std::process::Command::new("domainname").output() {