diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-08-29 07:19:50 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-08-29 15:10:15 +0000 |
commit | 91caa91adf42b21945345aee03b68c4e5d881a63 (patch) | |
tree | 11c43a84fc78b3330a6fa1aaa0a4ce2c74e99d11 | |
parent | 4402b67d7de47c52b0d54fcfc0a845609fecba17 (diff) |
gsm_a_common: fix 'pinfo/len' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: I831565d624711ebbcaf84b05e3a34dae58e1e064
Reviewed-on: https://code.wireshark.org/review/23282
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-gsm_a_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c index 686b8ea81b..e2106903e2 100644 --- a/epan/dissectors/packet-gsm_a_common.c +++ b/epan/dissectors/packet-gsm_a_common.c @@ -1646,7 +1646,7 @@ guint16 elem_tv_short(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint /* * Type (T) element dissector */ -guint16 elem_t(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint8 iei, gint pdu_type, int idx, guint32 offset, const gchar *name_add) +guint16 elem_t(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint8 iei, gint pdu_type, int idx, guint32 offset, const gchar *name_add) { guint8 oct; guint32 curr_offset; @@ -2025,7 +2025,7 @@ mcc_mnc_aux(guint8 *octs, gchar *mcc, gchar *mnc) * [3] 10.5.1.1 Cell Identity */ guint16 -de_cell_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string, int string_len) +de_cell_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string, int string_len) { guint32 curr_offset; @@ -2068,7 +2068,7 @@ static const value_string gsm_a_key_seq_vals[] = { }; static guint16 -de_ciph_key_seq_num( tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) +de_ciph_key_seq_num( tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) { guint32 curr_offset, bit_offset; @@ -3199,7 +3199,7 @@ de_ms_cm_3(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, /* * [3] 10.5.1.8 */ -guint16 de_spare_nibble(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) +guint16 de_spare_nibble(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) { guint32 curr_offset; gint bit_offset; |