Commit acbfe390 authored by Sean McBride's avatar Sean McBride
Browse files

Remove unused struct definition warned by cppcheck

Despite the comment, I see no reason why
‘its presence is necessary’.  The string
‘yy_trans_info’ appears nowhere else in the codebase.
parent cf28f12a
......@@ -380,13 +380,6 @@ static void yy_fatal_error (yyconst char msg[] );
#define YY_NUM_RULES 203
#define YY_END_OF_BUFFER 204
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
{
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
static yyconst flex_int16_t yy_accept[1386] =
{ 0,
0, 0, 204, 202, 166, 167, 167, 201, 202, 201,
......
......@@ -31,6 +31,7 @@ Modify vtkParse.tab.c:
- replace "(1-yyrhslen)" with "(1-(int)yyrhslen)"
- remove dead store "yynewStates = YY_NULLPTR;"
- replace "sizeof yynewStates[0] with "sizeof (yyGLRState*)"
- remove 'struct yy_trans_info', which is unneeded (despite the comment)
*/
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment