Skip to content

Commit

Permalink
clang-15 mpich_basic/adapt: unused value warning
Browse files Browse the repository at this point in the history
"use" t1 in the mpich_basic adapt test to avoid clang-15 warning.
  • Loading branch information
trws committed Aug 4, 2023
1 parent 5c731f6 commit 01caa11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/mpi/mpich_basic/adapt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ int main(int argc, char *argv[])
free(bwdata01);
free(bwdata12);
free(bwdata012);
(void)t1; // avoid "t1 set but not used"
return 0;
}

Expand Down

0 comments on commit 01caa11

Please sign in to comment.