Skip to content

Commit 27f4aa2

Browse files
committed
Remove unnecessary property
1 parent e1f0cbf commit 27f4aa2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Microsoft.OpenApi/Services/OpenApiWalker.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace Microsoft.OpenApi.Services
1919
public class OpenApiWalker
2020
{
2121
private readonly OpenApiVisitorBase _visitor;
22-
private OpenApiDocument _currentDocument;
2322
private readonly Stack<JsonSchema> _schemaLoop = new Stack<JsonSchema>();
2423
private readonly Stack<OpenApiPathItem> _pathItemLoop = new Stack<OpenApiPathItem>();
2524

@@ -42,7 +41,6 @@ public void Walk(OpenApiDocument doc)
4241
return;
4342
}
4443

45-
_currentDocument = doc;
4644
_schemaLoop.Clear();
4745
_pathItemLoop.Clear();
4846

0 commit comments

Comments
 (0)