Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 8e9fdc2

Browse files
committed
xmllint: Fix --pedantic option
Regressed in 74c84a8.
1 parent f907f78 commit 8e9fdc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xmllint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3350,7 +3350,7 @@ main(int argc, char **argv) {
33503350
else if ((!strcmp(argv[i], "-pedantic")) ||
33513351
(!strcmp(argv[i], "--pedantic"))) {
33523352
options |= XML_PARSE_PEDANTIC;
3353-
options &= XML_PARSE_NOWARNING;
3353+
options &= ~XML_PARSE_NOWARNING;
33543354
}
33553355
#ifdef LIBXML_DEBUG_ENABLED
33563356
else if ((!strcmp(argv[i], "-debugent")) ||

0 commit comments

Comments
 (0)