Useless Assignment at dtd_grammar.c:1222 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
yy_syntax_error (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dtd_grammar.c)![]() | ||||||
![]() | ||||||
1208 | static void yy_syntax_error( | |||||
1209 | yyParser *yypParser _U_, /* The parser */ | |||||
1210 | int yymajor _U_, /* The major type of the error token */ | |||||
1211 | YYMINORTYPE yyminor /* The minor type of the error token */ | |||||
1212 | ){ | |||||
1213 | DtdParseARG_FETCH; | |||||
1214 | #define TOKEN (yyminor.yy0) | |||||
1215 | #line 70 "./dtd_grammar.lemon" | |||||
1216 | ||||||
1217 | if (!TOKEN) | |||||
1218 | g_string_append_printf(bd->error,"syntax error at end of file"); | |||||
1219 | else | |||||
1220 | g_string_append_printf(bd->error,"syntax error in %s at or before '%s': \n", TOKEN->location,TOKEN->text); | |||||
1221 | #line 1228 "dtd_grammar.c" | |||||
1222 | DtdParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
| |||||
1223 | } | |||||
![]() |