mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Remove useless statement
This commit is contained in:
parent
cd0592ea8f
commit
ec0ef2a2c5
@ -24,12 +24,8 @@ namespace Emby.Naming.Video
|
||||
{
|
||||
var regexes = _options.CleanDateTimeRegexes;
|
||||
var len = regexes.Length;
|
||||
CleanDateTimeResult result = new CleanDateTimeResult(name);
|
||||
if (len == 0)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
CleanDateTimeResult result = new CleanDateTimeResult(name);
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
if (TryClean(name, regexes[i], ref result))
|
||||
|
Loading…
Reference in New Issue
Block a user