style: fix rustls-native-tls warnings when tracing is disabled (#1053)
This commit is contained in:
@@ -433,6 +433,8 @@ impl TlsParametersBuilder {
|
|||||||
tracing::debug!(
|
tracing::debug!(
|
||||||
"loaded platform certs with {errors_len} failing to load, {added} valid and {ignored} ignored (invalid) certs"
|
"loaded platform certs with {errors_len} failing to load, {added} valid and {ignored} ignored (invalid) certs"
|
||||||
);
|
);
|
||||||
|
#[cfg(not(feature = "tracing"))]
|
||||||
|
let _ = (errors_len, added, ignored);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "rustls-tls")]
|
#[cfg(feature = "rustls-tls")]
|
||||||
|
|||||||
Reference in New Issue
Block a user