aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/TVUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Library/TVUtils.cs')
-rw-r--r--MediaBrowser.Controller/Library/TVUtils.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Library/TVUtils.cs b/MediaBrowser.Controller/Library/TVUtils.cs
index 223761654..3080143ce 100644
--- a/MediaBrowser.Controller/Library/TVUtils.cs
+++ b/MediaBrowser.Controller/Library/TVUtils.cs
@@ -40,9 +40,7 @@ namespace MediaBrowser.Controller.Library
};
}
- DayOfWeek value;
-
- if (Enum.TryParse(day, true, out value))
+ if (Enum.TryParse(day, true, out DayOfWeek value))
{
return new DayOfWeek[]
{