Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
removed debug outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
johne8 committed Nov 19, 2023
1 parent 1866d1f commit 96b6cdb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions nss/src/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,11 @@ impl CacheDBBuilder {
match contents.trim().parse::<u32>() {
Ok(num) => num,
Err(err) => {

Check warning on line 353 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Tests

unused variable: `err`

Check warning on line 353 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Rust - Code sanity

unused variable: `err`

Check warning on line 353 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Rust - Code sanity

unused variable: `err`
eprintln!("Parsing to u32 fail: {}", err);
0 // fallback to 0
},

Check warning on line 355 in nss/src/cache/mod.rs

View check run for this annotation

Codecov / codecov/patch

nss/src/cache/mod.rs#L353-L355

Added lines #L353 - L355 were not covered by tests
}
},
Err(err) => {

Check warning on line 358 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Tests

unused variable: `err`

Check warning on line 358 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Rust - Code sanity

unused variable: `err`

Check warning on line 358 in nss/src/cache/mod.rs

View workflow job for this annotation

GitHub Actions / Rust - Code sanity

unused variable: `err`
eprintln!("error reading file: {}", err);
0 // fallback to 0
},

Check warning on line 360 in nss/src/cache/mod.rs

View check run for this annotation

Codecov / codecov/patch

nss/src/cache/mod.rs#L358-L360

Added lines #L358 - L360 were not covered by tests
}
Expand Down Expand Up @@ -397,14 +395,6 @@ impl CacheDBBuilder {
stat.uid(),
stat.gid()
)));
}else{
debug!("unexpected ownership for {}, expected {}:{} but got {}:{}",
file.path.to_str().unwrap(),
file.expected_uid,
file.expected_gid,
stat.uid(),
stat.gid()
);
}

Check warning on line 398 in nss/src/cache/mod.rs

View check run for this annotation

Codecov / codecov/patch

nss/src/cache/mod.rs#L398

Added line #L398 was not covered by tests
}
}
Expand Down

0 comments on commit 96b6cdb

Please sign in to comment.