aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-01-16 12:04:58 +0100
committerAnders Broman <a.broman58@gmail.com>2016-01-19 05:56:00 +0000
commit9663d8c4771934be165eef59c7cdb75c19aa2558 (patch)
tree4fa40f6c98a1ac4c62e91e35ab64b5c093f6a955 /epan/dissectors
parent1c090e929269a78bf7a4cb3dc0d34565f4351312 (diff)
ERF: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ibdf2eef90dff97498ddf9e11dfa14b7117ea4eab Reviewed-on: https://code.wireshark.org/review/13326 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-erf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-erf.c b/epan/dissectors/packet-erf.c
index a345170e22..10231c9f81 100644
--- a/epan/dissectors/packet-erf.c
+++ b/epan/dissectors/packet-erf.c
@@ -1364,6 +1364,7 @@ dissect_erf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
atm_info.vpi = ((atm_hdr & 0x0ff00000) >> 20);
atm_info.vci = ((atm_hdr & 0x000ffff0) >> 4);
atm_info.channel = (flags & 0x03);
+ atm_info.aal2_cid = aal2_cid;
atm_info.type = TRAF_UNKNOWN;
atm_info.subtype = TRAF_ST_UNKNOWN;