add unused_must_use lint

This commit is contained in:
auronandace
2026-02-11 09:48:47 +00:00
parent 395c6ba33b
commit a3c67e898d
18 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ pub unsafe extern "C" fn globfree(pglob: *mut glob_t) {
}
if !path.is_null() {
unsafe {
CString::from_raw(path);
drop(CString::from_raw(path));
}
}
}