Skip to content

Commit

Permalink
Remove unused M4_YY_DECL_GUTS_VAR
Browse files Browse the repository at this point in the history
yy_create_buffer makes no use of YY_G and thus does not require its
declaration. Removes another unused variable warning.
  • Loading branch information
taniwha authored and westes committed Oct 19, 2023
1 parent f7ea805 commit 63665f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cpp-flex.skl
Original file line number Diff line number Diff line change
Expand Up @@ -2983,7 +2983,6 @@ yybuffer yyFlexLexer::yy_create_buffer( std::istream& file, int size )
]])
{
yybuffer b;
M4_YY_DECL_GUTS_VAR();

b = (yybuffer) yyalloc( sizeof( struct yy_buffer_state ) M4_YY_CALL_LAST_ARG );
if ( b == NULL ) {
Expand Down

0 comments on commit 63665f4

Please sign in to comment.