Skip to content

Commit 46f1688

Browse files
committed
Improve code quality
1 parent fe62900 commit 46f1688

File tree

1 file changed

+3
-3
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp/Extractor

1 file changed

+3
-3
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private static ExitCode RunBinaryLogAnalysis(Stopwatch stopwatch, Options option
134134
{
135135
case ExitCode.Ok:
136136
case ExitCode.Errors:
137-
allFailed &= false;
137+
allFailed = false;
138138
break;
139139
case ExitCode.Failed:
140140
break;
@@ -209,11 +209,11 @@ static bool filter(CompilerCall compilerCall)
209209
switch (exit)
210210
{
211211
case ExitCode.Ok:
212-
allFailed &= false;
212+
allFailed = false;
213213
logger.LogInfo($" Compilation {diagnosticName} succeeded");
214214
break;
215215
case ExitCode.Errors:
216-
allFailed &= false;
216+
allFailed = false;
217217
logger.LogWarning($" Compilation {diagnosticName} had errors");
218218
break;
219219
case ExitCode.Failed:

0 commit comments

Comments
 (0)