From c7753eb67ae8428f6a00661463f591b3e96ea1e9 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Tue, 14 Feb 2023 18:21:07 +0100 Subject: [PATCH] Fix lints --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 83a4172..c74dbe3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,7 +51,7 @@ pub unsafe extern "C" fn getrandom( }; buflen = buflen.min(maxlen); - ctru_sys::psInit(); + let _ = ctru_sys::psInit(); let ret = ctru_sys::PS_GenerateRandomBytes(buf, buflen); // avoid conflicting a real POSIX errno by using a value < 0