Merge pull request #2002 from zed-industries/appease-clippy

Appease clippy
This commit is contained in:
Joseph T. Lyons
2023-01-04 16:33:29 -05:00
committed by GitHub
19 changed files with 49 additions and 52 deletions
+1 -1
View File
@@ -647,7 +647,7 @@ impl platform::Platform for MacPlatform {
attrs.set(kSecReturnAttributes as *const _, cf_true);
attrs.set(kSecReturnData as *const _, cf_true);
let mut result = CFTypeRef::from(ptr::null_mut());
let mut result = CFTypeRef::from(ptr::null());
let status = SecItemCopyMatching(attrs.as_concrete_TypeRef(), &mut result);
match status {
security::errSecSuccess => {}