core: code cleanup. part 2 (#9909)

This commit is contained in:
Diego Heras
2020-10-19 23:19:10 +02:00
committed by GitHub
parent 1d6980c0e8
commit 8bc765eaae
49 changed files with 97 additions and 96 deletions

View File

@@ -180,7 +180,7 @@ namespace Jackett.Common.Indexers
private string FixYearPosition(string title, string year)
{
int index = title.LastIndexOf('-');
var index = title.LastIndexOf('-');
// If its a series
if (index != -1)
{