From 01caa11c36403643acbd936b4a35fec5c12f19ad Mon Sep 17 00:00:00 2001 From: Tom Scogland Date: Fri, 4 Aug 2023 00:18:29 -0700 Subject: [PATCH] clang-15 mpich_basic/adapt: unused value warning "use" t1 in the mpich_basic adapt test to avoid clang-15 warning. --- t/mpi/mpich_basic/adapt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/t/mpi/mpich_basic/adapt.c b/t/mpi/mpich_basic/adapt.c index b0f0ae1a8dbc..68d3d3b04a33 100644 --- a/t/mpi/mpich_basic/adapt.c +++ b/t/mpi/mpich_basic/adapt.c @@ -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; }