aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
authorSven Van den brande <sven.vandenbrande@outlook.com>2016-03-27 23:11:27 +0200
committerSven Van den brande <sven.vandenbrande@outlook.com>2016-03-27 23:11:27 +0200
commit168587b2a0d1f495a9f85e05b1e518f615b0cfcc (patch)
treee9675fc086678d780d0a86caa92181173bac9486 /MediaBrowser.Common
parente73b418f9da82df8fdb443978228e350b9fe1bf2 (diff)
Remove unused code...
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 d41c715d9c..468b3d3456 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 0d8934a62c..b47511c332 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;