[Chapel Merge] Remove unused variable

Branch: refs/heads/main
Revision: af2695c
Author: bradcray
Log Message:

Merge pull request #18535 from bradcray/remove-unused-var

Remove unused variable

[trivial, not reviewed]

Paul Hargrove reported that clang++ from LLVM 13 started warning about this variable being
unused, which is pretty cool. It's not that it's not referenced, and it's not that it's unused,
it's that it's only incremented, but never read after that.

Modified Files:
M compiler/AST/AggregateType.cpp

Compare: https://github.com/chapel-lang/chapel/compare/8c13c218e06a...af2695c88ed8