Unused Value at packet-gsm_a_dtap.c:505 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
de_auth_resp_param (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_a_dtap.c)![]() | ||||||
![]() | ||||||
501 | de_auth_resp_param(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) | |||||
502 | { | |||||
503 | guint32 curr_offset; | |||||
504 | ||||||
505 | len = len;
| |||||
506 | curr_offset = offset; | |||||
507 | ||||||
508 | /* | |||||
509 | * 4 octets == 32 bits | |||||
510 | */ | |||||
511 | #define AUTH_PARAM_SRES_LEN 4 | |||||
512 | ||||||
513 | proto_tree_add_text(tree, | |||||
514 | tvb, curr_offset, AUTH_PARAM_SRES_LEN, | |||||
515 | "SRES value: %s", | |||||
516 | tvb_bytes_to_str(tvb, curr_offset, AUTH_PARAM_SRES_LEN)); | |||||
517 | ||||||
518 | curr_offset += AUTH_PARAM_SRES_LEN; | |||||
519 | ||||||
520 | /* no length check possible */ | |||||
521 | ||||||
522 | return(curr_offset - offset); | |||||
523 | } | |||||
![]() |