mirror of
https://github.com/stellarbear/YaraSharp
synced 2026-06-08 17:36:09 +00:00
Removed unnecessary check for errors
This commit is contained in:
@@ -13,7 +13,7 @@ namespace YaraSharp
|
||||
{
|
||||
CCompiler^ TestCompiler = gcnew CCompiler(ExternalVariables);
|
||||
|
||||
if (TestCompiler->AddFile(FilePathList[i]) || TestCompiler->GetErrors(false)->Count > 0)
|
||||
if (TestCompiler->AddFile(FilePathList[i]))
|
||||
{
|
||||
if (CompilationErrors->ContainsKey(FilePathList[i]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user