Useless Assignment at dtd_preparse.c:1560 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
Dtd_PreParse__init_buffer (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dtd_preparse.c)![]() | ||||||
![]() | ||||||
1539 | static void Dtd_PreParse__init_buffer (YY_BUFFER_STATE b, FILE * file ) | |||||
1540 | ||||||
1541 | { | |||||
1542 | int oerrno = errno; | |||||
1543 | ||||||
1544 | Dtd_PreParse__flush_buffer(b ); | |||||
1545 | ||||||
1546 | b->yy_input_file = file; | |||||
1547 | b->yy_fill_buffer = 1; | |||||
1548 | ||||||
1549 | /* If b is the current buffer, then Dtd_PreParse__init_buffer was _probably_ | |||||
1550 | * called from Dtd_PreParse_restart() or through yy_get_next_buffer. | |||||
1551 | * In that case, we don't want to reset the lineno or column. | |||||
1552 | */ | |||||
1553 | if (b != YY_CURRENT_BUFFER){ | |||||
1554 | b->yy_bs_lineno = 1; | |||||
1555 | b->yy_bs_column = 0; | |||||
1556 | } | |||||
1557 | ||||||
1558 | b->yy_is_interactive = 0; | |||||
1559 | ||||||
1560 | errno = oerrno;
| |||||
1561 | } | |||||
![]() |