No reason for these to use inline null checks

This commit is contained in:
Matt Nadareski
2025-09-20 16:15:54 -04:00
parent 7fa41ba945
commit 9639f40e55

View File

@@ -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)
{