mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-22 14:13:09 +00:00
Remove redundant check
This commit is contained in:
@@ -189,12 +189,8 @@ namespace BinaryObjectScanner.FileType
|
||||
if (blockStream == null || blockStream.Length == 0)
|
||||
return;
|
||||
|
||||
// Ensure files
|
||||
var files = GetFiles(cabArchive, folderIndex);
|
||||
if (files.Length == 0)
|
||||
return;
|
||||
|
||||
// Loop through the files
|
||||
var files = GetFiles(cabArchive, folderIndex);
|
||||
for (int i = 0; i < files.Length; i++)
|
||||
{
|
||||
var file = files[i];
|
||||
|
||||
Reference in New Issue
Block a user