Skip to content

Commit f0228f5

Browse files
committed
fuzzer: clean up comments
1 parent e54040a commit f0228f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/fuzzers/css_parse_fuzzer.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <cstdlib>
55
#include <libcss/libcss.h>
66

7-
// Simplified parser struct (based on GstCssParse)
7+
// Simplified parser struct
88
struct CssParser {
99
css_stylesheet *stylesheet;
1010
css_select_ctx *select_ctx;
@@ -33,7 +33,7 @@ static css_error resolve_font(void *pw, lwc_string *name, css_system_font *syste
3333
return CSS_INVALID;
3434
}
3535

36-
// Minimal select handler (based on gstcssparse.c)
36+
// Minimal select handler
3737
static css_error node_name(void *pw, void *node, css_qname *qname) {
3838
lwc_string *node_name = (lwc_string *)node;
3939
qname->name = lwc_string_ref(node_name);
@@ -240,7 +240,7 @@ static void free_parser(CssParser *parser) {
240240
if (parser->font_family) lwc_string_unref(parser->font_family);
241241
}
242242

243-
// Parse CSS (adapted from gst_cssparse_parse)
243+
// Parse CSS
244244
static css_error parse_css(CssParser *parser, const char *css_data) {
245245
if (!parser->stylesheet || !parser->select_ctx) return CSS_INVALID;
246246
if (!css_data || !css_data[0]) return CSS_OK;

0 commit comments

Comments
 (0)