From 46f168823c832694a11c7abef2c33d78109e4449 Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Mon, 11 Nov 2024 14:10:13 +0100 Subject: [PATCH] Improve code quality --- .../Semmle.Extraction.CSharp/Extractor/Extractor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs b/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs index b3ffcd442f44..a2cfa5669df0 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs @@ -134,7 +134,7 @@ private static ExitCode RunBinaryLogAnalysis(Stopwatch stopwatch, Options option { case ExitCode.Ok: case ExitCode.Errors: - allFailed &= false; + allFailed = false; break; case ExitCode.Failed: break; @@ -209,11 +209,11 @@ static bool filter(CompilerCall compilerCall) switch (exit) { case ExitCode.Ok: - allFailed &= false; + allFailed = false; logger.LogInfo($" Compilation {diagnosticName} succeeded"); break; case ExitCode.Errors: - allFailed &= false; + allFailed = false; logger.LogWarning($" Compilation {diagnosticName} had errors"); break; case ExitCode.Failed: