Skip to content

Commit 4711856

Browse files
committed
Remove commented code
1 parent 841ef9a commit 4711856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction/Context.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private void Populate(ISymbol? optionalSymbol, CachedEntity entity)
291291
throw new InternalError("Unexpected TrapStackBehaviour");
292292
}
293293

294-
var a = duplicationGuard && IsEntityDuplicationGuarded(entity, out var loc) //CreateLocation(entity.ReportingLocation) is NonGeneratedSourceLocation loc
294+
var a = duplicationGuard && IsEntityDuplicationGuarded(entity, out var loc)
295295
? (Action)(() => WithDuplicationGuard(new Key(entity, loc), () => entity.Populate(TrapWriter.Writer)))
296296
: (Action)(() => this.Try(null, optionalSymbol, () => entity.Populate(TrapWriter.Writer)));
297297

0 commit comments

Comments
 (0)