remove redundant code

This commit is contained in:
cvium
2021-05-04 19:57:03 +02:00
parent c0feb3694b
commit ad3e835bcf
2 changed files with 2 additions and 9 deletions

View File

@@ -86,13 +86,6 @@ namespace MediaBrowser.Common.Extensions
return true;
}
if (index < span.Length - 1 && span[index] == _separator)
{
Current = span.Slice(0, index);
_str = span[(index + 1)..];
return true;
}
Current = span.Slice(0, index);
_str = span[(index + 1)..];
return true;