Skip to content
Snippets Groups Projects
Commit 4c999964 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf
Browse files

webvtt: yyerror() should return void

This is the return type recommended by the GNU/Bison reference infodoc.

Refs #27180.
parent 5db447c8
No related branches found
No related tags found
1 merge request!2307webvtt: yyerror() should return void
Pipeline #247970 passed with stage
in 17 minutes and 26 seconds
......@@ -67,10 +67,9 @@ typedef void* yyscan_t;
#define YY_DECL int yylex(union YYSTYPE *, yyscan_t)
YY_DECL;
static int yyerror(yyscan_t scanner, vlc_css_parser_t *p, const char *msg)
static void yyerror(yyscan_t scanner, vlc_css_parser_t *p, const char *msg)
{
VLC_UNUSED(scanner);VLC_UNUSED(p);VLC_UNUSED(msg);
return 1;
}
%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment