Skip to content
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

Simplify oscap_source_validate_schematron #2122

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

jan-cerny
Copy link
Member

The function oscap_source_validate_schematron is always called with the second parameter outfile set to NULL, therefore this parameter isn't needed and we can decide that the output will be printed to stdout. That allows further simplification of static functions in schematron.c.

Fixes: #1720

The function `oscap_source_validate_schematron` is always called
with the second parameter `outfile` set to NULL, therefore this
parameter isn't needed and we can decide that the output will
be printed to stdout. That allows further simplification of
static functions in schematron.c.

Fixes: OpenSCAP#1720
@jan-cerny jan-cerny added this to the 1.4 milestone Jun 6, 2024
@evgenyz evgenyz self-assigned this Jun 7, 2024
@evgenyz evgenyz self-requested a review June 7, 2024 11:36
Copy link
Contributor

@evgenyz evgenyz left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@evgenyz evgenyz merged commit a38689c into OpenSCAP:main Jun 18, 2024
16 checks passed
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.

Deprecate oscap_source_validate_schematron
2 participants