From c02b39baa0fdd4bff90277f706fea0cef1926903 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 2 Nov 2019 11:54:51 +0000 Subject: gsm_a_bssmap: Fix Dead Store Fix dead store (Dead assignement/Dead increment) Warning found by Clang Change-Id: I1b8121402316b3fb8698e3522b6666080428f246 Reviewed-on: https://code.wireshark.org/review/34906 Petri-Dish: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- epan/dissectors/packet-gsm_a_bssmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-gsm_a_bssmap.c') diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index 4196f9aa33..c9aadd49d7 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -5042,7 +5042,7 @@ be_fe_source_cell_id(tvbuff_t* tvb, proto_tree* tree, packet_info* pinfo _U_, gu curr_offset += dissect_s1ap_EUTRAN_CGI_PDU(new_tvb , pinfo, tree, NULL); /* Global eNB ID: Octets (m+1) - n contain the value part of the Global eNB ID IE defined 3GPP TS 36.413 for the source eNB. */ new_tvb = tvb_new_subset_remaining(tvb, curr_offset); - curr_offset += dissect_s1ap_Global_ENB_ID_PDU(new_tvb, pinfo, tree, NULL); + dissect_s1ap_Global_ENB_ID_PDU(new_tvb, pinfo, tree, NULL); return(len); } -- cgit v1.2.3