From 91f691296c73c67eaab3c05667e00879428837bf Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 12 Dec 2023 17:42:34 -0500 Subject: [PATCH] IOS/Crypto/Sha: Handle ShaCommandUnknown in IOCtlV Resolves a -Wswitch warning. --- Source/Core/Core/IOS/Crypto/Sha.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Core/IOS/Crypto/Sha.cpp b/Source/Core/Core/IOS/Crypto/Sha.cpp index 1844020587..de4415e140 100644 --- a/Source/Core/Core/IOS/Crypto/Sha.cpp +++ b/Source/Core/Core/IOS/Crypto/Sha.cpp @@ -93,6 +93,10 @@ std::optional ShaDevice::IOCtlV(const IOCtlVRequest& request) break; return_code = ProcessShaCommand(command, request); + break; + + case ShaIoctlv::ShaCommandUnknown: + break; } return IPCReply(return_code);