From 917f810d7f196fef5959bc3096ce7360df961fc0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Apr 2021 22:48:09 +0200 Subject: Remove warning stderr output --- src/HtmlParser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HtmlParser.c b/src/HtmlParser.c index 0eb1275..7171d1f 100644 --- a/src/HtmlParser.c +++ b/src/HtmlParser.c @@ -429,7 +429,7 @@ static void html_parser_parse_tag_end(HtmlParser *self) { /* void tags close themselves, this is probably invalid html but we choose to ignore it silently */ if(is_void_tag(&tag_end_name)) { - fprintf(stderr, "Warning: got end tag for void tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data); + /*fprintf(stderr, "Warning: got end tag for void tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data);*/ continue; } @@ -447,7 +447,7 @@ static void html_parser_parse_tag_end(HtmlParser *self) { self->parse_callback(self, HTML_PARSE_TAG_END, self->callback_userdata); } } else { - fprintf(stderr, "Warning: start tag not found for end tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data); + /*fprintf(stderr, "Warning: start tag not found for end tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data);*/ } } else if(c == '\0') { return; -- cgit v1.2.3