Remove extra return statement

This commit is contained in:
Bond_009 2020-09-11 12:57:57 +02:00
parent 441301069e
commit edbd4e0db6
1 changed files with 0 additions and 3 deletions

View File

@ -961,7 +961,6 @@ namespace Emby.Server.Implementations.Library
var path = getPathFn(name);
var id = GetItemByNameId<T>(path);
var item = GetItemById(id) as T;
if (item == null)
{
item = new T
@ -974,8 +973,6 @@ namespace Emby.Server.Implementations.Library
};
CreateItem(item, null);
return item;
}
return item;