Fix nullability errors in MediaBrowser.LocalMetadata

This commit is contained in:
crobibero
2020-11-13 08:31:02 -07:00
parent 9b7c5cddae
commit 38885ffd74
3 changed files with 9 additions and 3 deletions

View File

@@ -683,7 +683,7 @@ namespace MediaBrowser.LocalMetadata.Parsers
default:
{
string readerName = reader.Name;
if (_validProviderIds!.TryGetValue(readerName, out string providerIdValue))
if (_validProviderIds!.TryGetValue(readerName, out string? providerIdValue))
{
var id = reader.ReadElementContentAsString();
if (!string.IsNullOrWhiteSpace(id))