OpenSCAP / openscap

NIST Certified SCAP 1.2 toolkit
https://www.open-scap.org/tools/openscap-base
GNU Lesser General Public License v2.1
1.38k stars 380 forks source link

Simplify oscap_source_validate_schematron #2122

Closed jan-cerny closed 5 months ago

jan-cerny commented 5 months ago

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