Useless Assignment at k12text.c:1857 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
K12Text__init_buffer (/home/sate/Testcases/c/cve/wireshark-1.2.0/wiretap/k12text.c)![]() | ||||||
![]() | ||||||
1836 | static void K12Text__init_buffer (YY_BUFFER_STATE b, FILE * file ) | |||||
1837 | ||||||
1838 | { | |||||
1839 | int oerrno = errno; | |||||
1840 | ||||||
1841 | K12Text__flush_buffer(b ); | |||||
1842 | ||||||
1843 | b->yy_input_file = file; | |||||
1844 | b->yy_fill_buffer = 1; | |||||
1845 | ||||||
1846 | /* If b is the current buffer, then K12Text__init_buffer was _probably_ | |||||
1847 | * called from K12Text_restart() or through yy_get_next_buffer. | |||||
1848 | * In that case, we don't want to reset the lineno or column. | |||||
1849 | */ | |||||
1850 | if (b != YY_CURRENT_BUFFER){ | |||||
1851 | b->yy_bs_lineno = 1; | |||||
1852 | b->yy_bs_column = 0; | |||||
1853 | } | |||||
1854 | ||||||
1855 | b->yy_is_interactive = 0; | |||||
1856 | ||||||
1857 | errno = oerrno;
| |||||
1858 | } | |||||
![]() |