Useless Assignment at packet-megaco.c:3659 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
megaco_tvb_skip_wsp_return (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-megaco.c)![]() | ||||||
![]() | ||||||
3653 | static gint megaco_tvb_skip_wsp_return(tvbuff_t* tvb, gint offset){ | |||||
3654 | gint counter = offset; | |||||
3655 | gint end; | |||||
3656 | guint8 tempchar; | |||||
3657 | end = 0; | |||||
3658 | ||||||
3659 | for(counter = offset; counter > end &&
| |||||
3660 | ((tempchar = tvb_get_guint8(tvb,counter)) == ' ' || | |||||
3661 | tempchar == '\t' || tempchar == '\n' || tempchar == '\r'); counter--); | |||||
3662 | counter++; | |||||
3663 | return (counter); | |||||
3664 | } | |||||
![]() |