Useless Assignment at diam_dict.c:2507 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
DiamDict_init_buffer (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/diam_dict.c)![]() | ||||||
![]() | ||||||
2486 | static void DiamDict_init_buffer (YY_BUFFER_STATE b, FILE * file ) | |||||
2487 | ||||||
2488 | { | |||||
2489 | int oerrno = errno; | |||||
2490 | ||||||
2491 | DiamDict_flush_buffer(b ); | |||||
2492 | ||||||
2493 | b->yy_input_file = file; | |||||
2494 | b->yy_fill_buffer = 1; | |||||
2495 | ||||||
2496 | /* If b is the current buffer, then DiamDict_init_buffer was _probably_ | |||||
2497 | * called from DiamDictrestart() or through yy_get_next_buffer. | |||||
2498 | * In that case, we don't want to reset the lineno or column. | |||||
2499 | */ | |||||
2500 | if (b != YY_CURRENT_BUFFER){ | |||||
2501 | b->yy_bs_lineno = 1; | |||||
2502 | b->yy_bs_column = 0; | |||||
2503 | } | |||||
2504 | ||||||
2505 | b->yy_is_interactive = 0; | |||||
2506 | ||||||
2507 | errno = oerrno;
| |||||
2508 | } | |||||
![]() |