1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Inline 'out' variable declarations

(cherry picked from commit 281add47de1d3940990156c841362125dea9cc7d)
This commit is contained in:
Bogdan
2023-05-23 13:48:37 +03:00
parent ed68a944ea
commit 8762588ef0
42 changed files with 68 additions and 169 deletions
@@ -67,8 +67,7 @@ namespace Radarr.Http.ClientSchema
{
lock (_mappings)
{
FieldMapping[] result;
if (!_mappings.TryGetValue(type, out result))
if (!_mappings.TryGetValue(type, out var result))
{
result = GetFieldMapping(type, "", v => v);