1
1

Merge pull request #3057 from hjelmn/osc_rdma_atomic

osc/rdma: fix compile warning
Этот коммит содержится в:
Jeff Squyres 2017-02-28 06:15:30 -05:00 коммит произвёл GitHub
родитель 07d8452646 032bcf915a
Коммит 9ce3c7f150

Просмотреть файл

@ -514,7 +514,7 @@ static inline void ompi_osc_rdma_aggregation_return (ompi_osc_rdma_aggregation_t
__opal_attribute_always_inline__
static bool ompi_osc_rdma_oor (int rc)
static inline bool ompi_osc_rdma_oor (int rc)
{
/* check for OPAL_SUCCESS first to short-circuit the statement in the common case */
return (OPAL_SUCCESS != rc && (OPAL_ERR_OUT_OF_RESOURCE == rc || OPAL_ERR_TEMP_OUT_OF_RESOURCE == rc));