@@ -521,7 +521,7 @@ static inline int ompi_osc_rdma_cas_atomic (ompi_osc_rdma_sync_t *sync, const vo
521
521
flags = (4 == size ) ? MCA_BTL_ATOMIC_FLAG_32BIT : 0 ;
522
522
523
523
OSC_RDMA_VERBOSE (MCA_BASE_VERBOSE_TRACE , "initiating compare-and-swap using %d-bit btl atomics. compare: 0x%"
524
- PRIx64 ", origin: 0x%" PRIx64 , size * 8 , * ((int64_t * ) compare_addr ), * ((int64_t * ) source_addr ));
524
+ PRIx64 ", origin: 0x%" PRIx64 , ( int ) size * 8 , * ((int64_t * ) compare_addr ), * ((int64_t * ) source_addr ));
525
525
526
526
ret = ompi_osc_rdma_frag_alloc (module , 24 , & frag , & ptr );
527
527
if (OPAL_UNLIKELY (OMPI_SUCCESS != ret )) {
@@ -666,11 +666,10 @@ static int ompi_osc_rdma_fetch_and_op_cas (ompi_osc_rdma_sync_t *sync, const voi
666
666
mca_btl_base_registration_handle_t * target_handle , ompi_op_t * op , ompi_osc_rdma_request_t * req )
667
667
{
668
668
ompi_osc_rdma_module_t * module = sync -> module ;
669
- int32_t atomic_flags = module -> selected_btl -> btl_atomic_flags ;
670
669
ompi_osc_rdma_frag_t * frag = NULL ;
671
670
uint64_t address , offset ;
672
671
char * ptr = NULL ;
673
- int ret , btl_op ;
672
+ int ret ;
674
673
675
674
if (extent > 8 ) {
676
675
return OMPI_ERR_NOT_SUPPORTED ;
@@ -1193,7 +1192,6 @@ int ompi_osc_rdma_fetch_and_op (const void *origin_addr, void *result_addr, ompi
1193
1192
ompi_osc_rdma_module_t * module = GET_MODULE (win );
1194
1193
ompi_osc_rdma_peer_t * peer ;
1195
1194
ompi_osc_rdma_sync_t * sync ;
1196
- int ret ;
1197
1195
1198
1196
OSC_RDMA_VERBOSE (MCA_BASE_VERBOSE_TRACE , "fop: %p, %s, %d, %lu, %s, %s" , result_addr , dt -> name ,
1199
1197
target_rank , (unsigned long ) target_disp , op -> o_name , win -> w_name );
0 commit comments