mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
C#: Remove unused out argument
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user