Skip to content

Commit 2383ca4

Browse files
authored
err is not used actually
1 parent a5c838f commit 2383ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/private/cstr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Default for RawCstrs {
6868
}
6969

7070
#[cfg(feature = "alloc")]
71-
pub fn nul_to_invalid_arg(err: alloc::ffi::NulError) -> esp_idf_sys::EspError {
71+
pub fn nul_to_invalid_arg(_err: alloc::ffi::NulError) -> esp_idf_sys::EspError {
7272
esp_idf_sys::EspError::from_non_zero(
7373
core::num::NonZeroI32::new(esp_idf_sys::ESP_ERR_INVALID_ARG).unwrap(),
7474
)

0 commit comments

Comments
 (0)