aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiEntryPoint.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:46:33 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:46:33 +0100
commite8674464373c3635243953cded42fcd2aa87d196 (patch)
tree8087e1c5d47a525b04f3ae7e99183f68391bb410 /MediaBrowser.Api/ApiEntryPoint.cs
parent65bd052f3e8682d177520af57db1c8ef5cb33262 (diff)
ReSharper format: conform inline 'out' parameters.
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
-rw-r--r--MediaBrowser.Api/ApiEntryPoint.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs
index 0c3431e97..4e2380cfa 100644
--- a/MediaBrowser.Api/ApiEntryPoint.cs
+++ b/MediaBrowser.Api/ApiEntryPoint.cs
@@ -101,8 +101,7 @@ namespace MediaBrowser.Api
{
lock (_transcodingLocks)
{
- SemaphoreSlim result;
- if (!_transcodingLocks.TryGetValue(outputPath, out result))
+ if (!_transcodingLocks.TryGetValue(outputPath, out var result))
{
result = new SemaphoreSlim(1, 1);
_transcodingLocks[outputPath] = result;