Skip to content

fix unused variable warning#1973

Merged
rhornung67 merged 4 commits intodevelopfrom
artv3/fix-unused-variable-warning
Jan 27, 2026
Merged

fix unused variable warning#1973
rhornung67 merged 4 commits intodevelopfrom
artv3/fix-unused-variable-warning

Conversation

@artv3
Copy link
Member

@artv3 artv3 commented Jan 9, 2026

Summary

Compiler warns this is an unused variable

@artv3 artv3 requested a review from a team January 9, 2026 18:24
RAJA::expt::type_traits::is_ForallParamPack_empty<ReduceParams>::value;
if constexpr (!is_parampack_empty)
{
using EXEC_POL = RAJA::seq_exec;
Copy link
Member

@adayton1 adayton1 Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the EXEC_POL alias still be defined above? I'm guessing the compiler warning was about the actual variable.

@rhornung67 rhornung67 merged commit 722e33d into develop Jan 27, 2026
21 checks passed
@rhornung67 rhornung67 deleted the artv3/fix-unused-variable-warning branch January 27, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants