Skip to content

Commit 087a533

Browse files
committed
Update PropertyNode.cs
1 parent 4fa15b4 commit 087a533

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Microsoft.OpenApi.Readers/ParseNodes/PropertyNode.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ public void ParseField<T>(
3030
IDictionary<string, Action<T, ParseNode>> fixedFields,
3131
IDictionary<Func<string, bool>, Action<T, string, ParseNode>> patternFields)
3232
{
33-
var found = fixedFields.TryGetValue(Name, out var fixedFieldMap);
34-
35-
if (fixedFieldMap != null)
33+
if (fixedFields.TryGetValue(Name, out var fixedFieldMap))
3634
{
3735
try
3836
{

0 commit comments

Comments
 (0)