Skip to content

Commit 1bf1fe6

Browse files
committed
clean up
1 parent 9c97c62 commit 1bf1fe6

File tree

1 file changed

+0
-2
lines changed
  • eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Visitors

1 file changed

+0
-2
lines changed

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Visitors/PaginationVisitor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ private void DoVisitAsPagesMethodStatements(MethodBodyStatements statements, Met
4444
var doWhileStatement = statements.OfType<DoWhileStatement>().FirstOrDefault();
4545
if (doWhileStatement is not null)
4646
{
47-
var body = doWhileStatement.Body;
48-
4947
// we manually go over the body statements because currently the framework does not do this.
5048
// TODO -- we do not have to do this once https://github.com/microsoft/typespec/issues/8177 is fixed.
5149
foreach (var statement in doWhileStatement.Body)

0 commit comments

Comments
 (0)