Skip to content

Commit 9e8c7d6

Browse files
author
Ralph Castain
committed
Silence Coverity warning
Signed-off-by: Ralph Castain <[email protected]>
1 parent 6b34cc6 commit 9e8c7d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

orte/mca/iof/base/iof_base_frame.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ static void orte_iof_base_sink_construct(orte_iof_sink_t* ptr)
238238
}
239239
static void orte_iof_base_sink_destruct(orte_iof_sink_t* ptr)
240240
{
241-
OPAL_OUTPUT_VERBOSE((20, orte_iof_base_framework.framework_output,
242-
"%s iof: closing sink for process %s on fd %d",
243-
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
244-
ORTE_NAME_PRINT(&ptr->name), ptr->wev->fd));
245241
if (NULL != ptr->wev && 0 <= ptr->wev->fd) {
242+
OPAL_OUTPUT_VERBOSE((20, orte_iof_base_framework.framework_output,
243+
"%s iof: closing sink for process %s on fd %d",
244+
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
245+
ORTE_NAME_PRINT(&ptr->name), ptr->wev->fd));
246246
OBJ_RELEASE(ptr->wev);
247247
}
248248
}

0 commit comments

Comments
 (0)