Skip to content

Commit cb5ff55

Browse files
author
Tomislav Janjusic
committed
oshmem/ucx: fixed a build issue
Co-authored with: Artem Polyakov <[email protected]> Signed-off-by: Tomislav Janjusic <[email protected]>
1 parent 8b424c3 commit cb5ff55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oshmem/mca/sshmem/ucx/sshmem_ucx_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ segment_create(map_segment_t *ds_buf,
226226
unsigned flags;
227227

228228
#if HAVE_UCX_DEVICE_MEM
229+
int ret = OSHMEM_ERROR;
229230
if (hint & SHMEM_HINT_DEVICE_NIC_MEM) {
230231
if (size > UINT_MAX) {
231232
return OSHMEM_ERR_BAD_PARAM;

0 commit comments

Comments
 (0)