C#: Remove unused out argument

This commit is contained in:
Tamas Vajk
2020-10-02 10:29:09 +02:00
parent 921d3eeaec
commit 79eff06828

View File

@@ -75,7 +75,7 @@ namespace Semmle.Extraction
#if DEBUG_LABELS
private void CheckEntityHasUniqueLabel(string id, ICachedEntity entity)
{
if (idLabelCache.TryGetValue(id, out var originalEntity))
if (idLabelCache.ContainsKey(id))
{
ExtractionError("Label collision for " + id, entity.Label.ToString(), Entities.Location.Create(this, entity.ReportingLocation), "", Severity.Warning);
}