aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_bssmap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2019-11-02 11:54:51 +0000
committerAnders Broman <a.broman58@gmail.com>2019-11-03 22:58:23 +0000
commitc02b39baa0fdd4bff90277f706fea0cef1926903 (patch)
tree61462021fe4e0796e3b08dbe7e6048514ec5af94 /epan/dissectors/packet-gsm_a_bssmap.c
parentde7760d49087dd7633fd6adbb3650f44d204ad83 (diff)
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 <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_bssmap.c')
-rw-r--r--epan/dissectors/packet-gsm_a_bssmap.c2
1 files changed, 1 insertions, 1 deletions
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);
}