mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
No reason for these to use inline null checks
This commit is contained in:
@@ -347,10 +347,12 @@ namespace BinaryObjectScanner
|
||||
}
|
||||
|
||||
// Prepare the returned protections
|
||||
subProtections?.StripFromKeys(tempPath);
|
||||
subProtections?.PrependToKeys(fileName);
|
||||
if (subProtections != null)
|
||||
{
|
||||
subProtections.StripFromKeys(tempPath);
|
||||
subProtections.PrependToKeys(fileName);
|
||||
protections.Append(subProtections);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user