mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
remove redundant null check
This commit is contained in:
parent
f2c7bccb89
commit
a380153f92
1 changed files with 0 additions and 5 deletions
|
@ -94,11 +94,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
|||
{
|
||||
var subtitleFormats = new List<SubtitleFormat>();
|
||||
var assembly = typeof(SubtitleFormat).Assembly;
|
||||
if (assembly == null)
|
||||
{
|
||||
_logger.LogError("Missing assembly containing {SubtitleFormatName}", nameof(SubtitleFormat));
|
||||
return GetFallbackSubtitleFormats();
|
||||
}
|
||||
|
||||
foreach (var type in assembly.GetTypes())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue