Skip to content

Fix GH-10385: FPM successful config test early exit #10388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Jan 20, 2023

Fixes GH-10385

This introduces an enum fpm_init_return_status to propagate the status up to fpm_main. This also makes the code clearer by not using magic integer return numbers.

If I'm not allowed to touch the header / return value type because BC reasons, I can also try encoding it in the integer return value. But I find that a lot less clear, I'd prefer to be explicit about the return value :)

This introduces an enum `fpm_init_return_status` to propagate the status
up to fpm_main. This also makes the code clearer by not using magic
integer return numbers.
@devnexen devnexen requested a review from bukka January 20, 2023 22:21
Copy link
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

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

This looks good.

@bukka bukka closed this in 5b13e83 Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants