mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-09 02:16:46 +00:00
Move constructor closer to use
This commit is contained in:
@@ -297,9 +297,6 @@ namespace BinaryObjectScanner
|
||||
return [];
|
||||
}
|
||||
|
||||
// Initialize the protections found
|
||||
var protections = new ProtectionDictionary();
|
||||
|
||||
// Get the extension for certain checks
|
||||
string extension = Path.GetExtension(fileName).ToLower().TrimStart('.');
|
||||
|
||||
@@ -328,6 +325,9 @@ namespace BinaryObjectScanner
|
||||
// Get the wrapper, if possible
|
||||
var wrapper = WrapperFactory.CreateWrapper(fileType, stream);
|
||||
|
||||
// Initialize the protections found
|
||||
var protections = new ProtectionDictionary();
|
||||
|
||||
#region Non-Archive File Types
|
||||
|
||||
// Try to scan file contents
|
||||
|
||||
Reference in New Issue
Block a user