Remove unused variables (#5669)

This commit is contained in:
Nicolas Dorier
2024-01-18 09:47:39 +09:00
committed by GitHub
parent dd7ab2f647
commit 376067324b
39 changed files with 78 additions and 126 deletions

View File

@@ -78,7 +78,7 @@ namespace BTCPayServer.Controllers.Greenfield
private void ValidateWebhookRequest(StoreWebhookBaseData create)
{
if (!Uri.TryCreate(create?.Url, UriKind.Absolute, out var uri))
if (!Uri.TryCreate(create?.Url, UriKind.Absolute, out _))
ModelState.AddModelError(nameof(Url), "Invalid Url");
}