Skip to content

Commit

Permalink
processor_sql: Remove a needless yywrap definition
Browse files Browse the repository at this point in the history
Because `%option warn noyywrap nodefault` option is already specified in
sql-parse.l and it seems that no need to define yywrap in sql-parser.y.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Mar 20, 2024
1 parent 401620b commit c398f91
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugins/processor_sql/parser/sql-parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ void yyerror (struct sql_query *query, void *scanner, const char *str)
fprintf(stderr, "error: %s\n", str);
}

int yywrap(struct sql_query *query)
{
return 1;
}

%} /* EOF C code */


Expand Down

0 comments on commit c398f91

Please sign in to comment.