mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Fix the last few warnings
Enables TreatWarningsAsErrors for all projects
This commit is contained in:
@@ -65,13 +65,13 @@ namespace Emby.Server.Implementations.Images
|
||||
if (SupportedImages.Contains(ImageType.Primary))
|
||||
{
|
||||
var primaryResult = await FetchAsync(item, ImageType.Primary, options, cancellationToken).ConfigureAwait(false);
|
||||
updateType = updateType | primaryResult;
|
||||
updateType |= primaryResult;
|
||||
}
|
||||
|
||||
if (SupportedImages.Contains(ImageType.Thumb))
|
||||
{
|
||||
var thumbResult = await FetchAsync(item, ImageType.Thumb, options, cancellationToken).ConfigureAwait(false);
|
||||
updateType = updateType | thumbResult;
|
||||
updateType |= thumbResult;
|
||||
}
|
||||
|
||||
return updateType;
|
||||
|
||||
Reference in New Issue
Block a user