diff --git a/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c b/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c index 0bcc073cad..6545bfd034 100644 --- a/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c +++ b/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c @@ -34,7 +34,7 @@ static inline int32_t create_send_tag(ompi_osc_pt2pt_module_t *module) { #if OMPI_HAVE_THREAD_SUPPORT && OPAL_HAVE_ATOMIC_CMPSET_32 - int32_t new, old; + int32_t newval, oldval; do { oldval = module->p2p_tag_counter; newval = (oldval + 1) % mca_pml.pml_max_tag;