aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common')
-rw-r--r--MediaBrowser.Common/IO/ProgressStream.cs2
-rw-r--r--MediaBrowser.Common/Security/ISecurityManager.cs1
2 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Common/IO/ProgressStream.cs b/MediaBrowser.Common/IO/ProgressStream.cs
index d41c715d9..468b3d345 100644
--- a/MediaBrowser.Common/IO/ProgressStream.cs
+++ b/MediaBrowser.Common/IO/ProgressStream.cs
@@ -147,7 +147,7 @@ namespace MediaBrowser.Common.IO
BytesProcessed += read;
double percent = BytesProcessed;
- percent /= (ReadLength ?? BaseStream.Length);
+ percent /= ReadLength ?? BaseStream.Length;
percent *= 100;
ProgressAction(percent);
diff --git a/MediaBrowser.Common/Security/ISecurityManager.cs b/MediaBrowser.Common/Security/ISecurityManager.cs
index 0d8934a62..b47511c33 100644
--- a/MediaBrowser.Common/Security/ISecurityManager.cs
+++ b/MediaBrowser.Common/Security/ISecurityManager.cs
@@ -1,4 +1,3 @@
-using System;
using MediaBrowser.Model.Entities;
using System.Threading.Tasks;