Skip to content

Conversation

@janjust
Copy link
Contributor

@janjust janjust commented Aug 12, 2019

Missing error path change in: #6754 (6678ac0)

Signed-off-by: Tomislav Janjusic [email protected]

Signed-off-by: Tomislav Janjusic <[email protected]>
@janjust janjust requested a review from artpol84 August 12, 2019 18:56
if (OMPI_SUCCESS != ret) {
OSC_UCX_VERBOSE(1, "opal_progress_register failed: %d", ret);
goto error;
goto select_unlock;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could just remove this line, you would end up in select_unlock anyway

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brminich :) I thought about doing it, but then I thought, what if code for whatever reason is added in between, this error path may go unchecked. Maybe for clarity I prefer to leave it unless there are strong feelings to remove it and rely on fallthrough.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@artpol84 artpol84 merged commit d58c59e into open-mpi:master Aug 13, 2019
@janjust janjust deleted the osc_error_path_fix branch March 27, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants