Removed unnecessary check for errors

This commit is contained in:
Chris Davies (MSTIC)
2018-12-11 22:42:59 +00:00
parent 6b81bc13c5
commit ef6c2298f5
+1 -1
View File
@@ -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]))
{