diff --git a/src/KOKKOS/comm_kokkos.cpp b/src/KOKKOS/comm_kokkos.cpp index eea79248fe..57c9d7c383 100644 --- a/src/KOKKOS/comm_kokkos.cpp +++ b/src/KOKKOS/comm_kokkos.cpp @@ -661,7 +661,7 @@ void CommKokkos::reverse_comm(Pair *pair, int size) template void CommKokkos::reverse_comm_device(Pair *pair, int size) { - int iswap,n; + int iswap,n,nsize; MPI_Request request; DAT::tdual_xfloat_1d k_buf_tmp;