[Chapel Merge] Fix compiler warnings for testTaskIntents test

Branch: refs/heads/main
Revision: b131550
Author: benharsh
Link: Fix compiler warnings for testTaskIntents test by benharsh · Pull Request #20489 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20489 from benharsh/fix-task-intent-warnings

Fix compiler warnings for testTaskIntents test

Trivial, not reviewed.

Modified Files:
M compiler/dyno/test/resolution/testTaskIntents.cpp

Compare: https://github.com/chapel-lang/chapel/compare/35736f7b0928...b131550ff3b7