When building with GCC 10, the following warning is reported:
/llvm-project/llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1527:28: warning: unused variable ‘CS’ [-Wunused-variable] 1527 | if (CatchSwitchInst *CS =
This change adds a cast to void to avoid the warning.
I wonder, why do we need the second (void)CS if we already had one on line 1542 right within the same if?