Unused Value at packet-megaco.c:3642 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
megaco_tvb_skip_wsp (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-megaco.c)![]() | ||||||
![]() | ||||||
3641 | static gint megaco_tvb_skip_wsp(tvbuff_t* tvb, gint offset ){ | |||||
3642 | gint counter = offset;
| |||||
3643 | gint end,tvb_len; | |||||
3644 | guint8 tempchar; | |||||
3645 | tvb_len = tvb_length(tvb); | |||||
3646 | end = tvb_len; | |||||
3647 | ||||||
3648 | for(counter = offset; counter < end && | |||||
3649 | ((tempchar = tvb_get_guint8(tvb,counter)) == ' ' || | |||||
3650 | tempchar == '\t' || tempchar == '\n' || tempchar == '\r'); counter++); | |||||
3651 | return (counter); | |||||
3652 | } | |||||
![]() |