Skip to content

Commit

Permalink
SCAN4NET-155 Clean up: Remove unused variable (#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Pohlmann authored Nov 5, 2024
1 parent 7da5567 commit 776b72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SonarScanner.MSBuild.PreProcessor/ProcessedArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private string GetOperatingSystem(IAnalysisPropertyProvider properties) =>

private bool CheckOrganizationValidity(ILogger logger)
{
if (Organization is null && this.globalFileProperties.TryGetValue(SonarProperties.Organization, out var filePropertiesOrganization))
if (Organization is null && globalFileProperties.TryGetValue(SonarProperties.Organization, out _))
{
logger.LogError(Resources.ERROR_Organization_Provided_In_SonarQubeAnalysis_file);
return false;
Expand Down

0 comments on commit 776b72d

Please sign in to comment.