mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use merge pattern.
This commit is contained in:
@@ -198,8 +198,7 @@ public sealed partial class LisaFS
|
||||
!_debug)
|
||||
return ErrorNumber.AccessDenied;
|
||||
|
||||
if(fileId > 4 ||
|
||||
fileId <= 0)
|
||||
if(fileId is > 4 or <= 0)
|
||||
if(fileId != FILEID_BOOT_SIGNED &&
|
||||
fileId != FILEID_LOADER_SIGNED)
|
||||
return ErrorNumber.InvalidArgument;
|
||||
|
||||
Reference in New Issue
Block a user