Inline 'out' variable declarations

(cherry picked from commit 281add47de1d3940990156c841362125dea9cc7d)

Closes #3748
This commit is contained in:
Bogdan 2023-05-23 13:48:37 +03:00
parent ad78a9e626
commit 14816306a4
39 changed files with 69 additions and 155 deletions

View file

@ -116,8 +116,7 @@ namespace NzbDrone.Core.Configuration
continue;
}
object currentValue;
allWithDefaults.TryGetValue(configValue.Key, out currentValue);
allWithDefaults.TryGetValue(configValue.Key, out var currentValue);
if (currentValue == null)
{
continue;