aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-03-31 12:45:15 -0400
committerLuke <luke.pulverenti@gmail.com>2016-03-31 12:45:15 -0400
commit4f6c50244b9547601e4a2da891090e4a9fd5cb23 (patch)
tree30252268405738fc3d01b45ee99330093efc79df /MediaBrowser.Common
parent0be3fdc062ab218ba5702f065b4bee565850c402 (diff)
parente61014aa881c0720a9b3a3f9bddab702ddd44671 (diff)
Merge pull request #1613 from MediaBrowser/dev
Dev
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;