fix
packet-gtp.c: In function 'decode_gtp_imsi': packet-gtp.c:3210:18: error: variable 'imsi_str' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[5]: *** [libdissectors_la-packet-gtp.lo] Error 1 by commenting out the unused variable Change-Id: I498595f93423c599f902a1a0cc42b63cef2c4d7c Reviewed-on: https://code.wireshark.org/review/3725 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
8670d9fdfe
commit
5c554c9c41
|
@ -3207,10 +3207,10 @@ decode_gtp_cause(tvbuff_t * tvb, int offset, packet_info * pinfo _U_, proto_tree
|
|||
static int
|
||||
decode_gtp_imsi(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree)
|
||||
{
|
||||
const gchar *imsi_str;
|
||||
/* const gchar *imsi_str; */
|
||||
|
||||
/* Octets 2 - 9 IMSI */
|
||||
imsi_str = dissect_e212_imsi(tvb, pinfo, tree, offset+1, 8, FALSE);
|
||||
/* imsi_str = */ dissect_e212_imsi(tvb, pinfo, tree, offset+1, 8, FALSE);
|
||||
|
||||
return 9;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue