diff options
| author | Stepan Goremykin <goremukin@gmail.com> | 2023-04-06 19:38:34 +0200 |
|---|---|---|
| committer | Stepan Goremykin <goremukin@gmail.com> | 2023-04-06 19:38:34 +0200 |
| commit | 910617bbc3b960ff6a1e1c18c27a0b42a4be9ee0 (patch) | |
| tree | 9ed2d33f6439b02295697c93151bc2d14de0ec81 /Jellyfin.Api/Controllers/SubtitleController.cs | |
| parent | b6cfdb8b92650aa4f5c33b9523700ffeaa7694d0 (diff) | |
Remove redundant 'else' keywords
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SubtitleController.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index e38421338..b3e9d6297 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -533,10 +533,8 @@ public class SubtitleController : BaseJellyfinApiController _logger.LogDebug("Fallback font size is {FileSize} Bytes", fileSize); return PhysicalFile(fontFile.FullName, MimeTypes.GetMimeType(fontFile.FullName)); } - else - { - _logger.LogWarning("The selected font is null or empty"); - } + + _logger.LogWarning("The selected font is null or empty"); } else { |
