Unused Value at packet-gsm_a_dtap.c:455 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
de_auth_param_rand (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_a_dtap.c)![]() | ||||||
![]() | ||||||
451 | de_auth_param_rand(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) | |||||
452 | { | |||||
453 | guint32 curr_offset; | |||||
454 | ||||||
455 | len = len;
| |||||
456 | curr_offset = offset; | |||||
457 | ||||||
458 | /* | |||||
459 | * 16 octets == 128 bits | |||||
460 | */ | |||||
461 | #define AUTH_PARAM_RAND_LEN 16 | |||||
462 | ||||||
463 | proto_tree_add_text(tree, | |||||
464 | tvb, curr_offset, AUTH_PARAM_RAND_LEN, | |||||
465 | "RAND value: %s", | |||||
466 | tvb_bytes_to_str(tvb, curr_offset, AUTH_PARAM_RAND_LEN)); | |||||
467 | ||||||
468 | curr_offset += AUTH_PARAM_RAND_LEN; | |||||
469 | ||||||
470 | /* no length check possible */ | |||||
471 | ||||||
472 | return(curr_offset - offset); | |||||
473 | } | |||||
![]() |