diff --git a/ompi/mca/pml/ob1/pml_ob1_recvreq.h b/ompi/mca/pml/ob1/pml_ob1_recvreq.h index a34a7fa0a4..706535babc 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvreq.h +++ b/ompi/mca/pml/ob1/pml_ob1_recvreq.h @@ -270,9 +270,9 @@ do { size_t max_data = bytes_received; \ int32_t free_after = 0; \ size_t n, offset = seg_offset; \ + mca_btl_base_segment_t* segment = segments; \ \ - for(n=0; n= segment->seg_len) { \ offset -= segment->seg_len; \ } else { \